Is it possible to write every real polynomial in two variables $x$ and $y$ with this form:
$$a x^2+b x y +c y^2$$
with general coefficients $a,b,c$ into the form
$$(d x + e y)^2$$
for some, possibly complex, $d$ and $e$?
From the second form to the first is obvious, but I need the other way around: is there some formula for the coefficients $d$ and $e$ as a function of $a,b,c$?