The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(0)^2 - 4 * (1) * (y^2) = -4*y^2
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
x1 = -I*re(y) + im(y)
x2 = -im(y) + I*re(y)
x2 = i*re(y) - im(y)
sum
-I*re(y) + im(y) + -im(y) + I*re(y)
=
0
product
(-I*re(y) + im(y))*(-im(y) + I*re(y))
=
2 -(-im(y) + I*re(y))
-(-im(y) + i*re(y))^2