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