The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-79)^2 - 4 * (-64) * (-25) = -159
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
_____ 79 I*\/ 159 x1 = - --- - --------- 128 128
_____ 79 I*\/ 159 x2 = - --- + --------- 128 128
x2 = -79/128 + sqrt(159)*i/128
sum
_____ _____ 79 I*\/ 159 79 I*\/ 159 - --- - --------- + - --- + --------- 128 128 128 128
=
-79 ---- 64
product
/ _____\ / _____\ | 79 I*\/ 159 | | 79 I*\/ 159 | |- --- - ---------|*|- --- + ---------| \ 128 128 / \ 128 128 /
=
25 -- 64
25/64
x1 = -0.6171875 - 0.0985118766634257*i
x2 = -0.6171875 + 0.0985118766634257*i
x2 = -0.6171875 + 0.0985118766634257*i