This is LaTeX code:

[latex]
(x^2+\frac{a}{2}x + y)^2 - ((\frac{a^2}{4}-b+2y)x^2 + (ay-c)x + y^2 -d) = 0
[/latex]