$Q(\vec x) = x_1^2+x_1x_2+x_2^2$
The matrix $A=\begin{bmatrix}1 & 0.5 \\ 0.5 & 1\end{bmatrix}$ seems to do the job. But what's the general procedure for finding a solution?
I can just think of setting it up like this for more clarity:
$\begin{bmatrix}x_1 & x_2\end{bmatrix}\begin{bmatrix}? & ?\\ ? & ?\end{bmatrix}\begin{bmatrix}x_1\\ x_2\end{bmatrix} =\begin{bmatrix}x_1^2+x_1x_2+x_2^2\end{bmatrix}$
But after that I'm lost, there surely must be some concepts I can apply.