The teacher will be very surprised to see your correct solution 😉
2 - (y - 7) - 12*y + 36 = 0
a*y^2 + b*y + c = 0
D = b^2 - 4 * a * c =
(2)^2 - 4 * (-1) * (-13) = -48
y1 = (-b + sqrt(D)) / (2*a)
y2 = (-b - sqrt(D)) / (2*a)
___ y1 = 1 - 2*I*\/ 3
___ y2 = 1 + 2*I*\/ 3
y2 = 1 + 2*sqrt(3)*i
sum
___ ___ 1 - 2*I*\/ 3 + 1 + 2*I*\/ 3
=
2
product
/ ___\ / ___\ \1 - 2*I*\/ 3 /*\1 + 2*I*\/ 3 /
=
13
13
y1 = 1.0 - 3.46410161513775*i
y2 = 1.0 + 3.46410161513775*i
y2 = 1.0 + 3.46410161513775*i