So, I have the following :
$$x^2 + 2xy + y^2 + 2\sqrt{2}\;x - 2\sqrt{2}\;y+4=0$$
I know that to take out the $xy$ term from $A x^2 + B x y + C y^2 + \cdots = 0$, I must use : $$\tan 2\beta=\frac{B}{A-C}$$
But the problem is that I get $$\tan 2\beta =\frac{2}{0}$$
What should I do ?
Notice that $x^2+2xy+y^2=(x+y)^2$, not sure what $a$, $A$, $B$, and $C$ are in this case..