The teacher will be very surprised to see your correct solution 😉
2 2 c + a*x + b*y = 0
a*x^2 + b*y^2 + c = 0