The teacher will be very surprised to see your correct solution 😉
(d + 7)*(-d - 7) + 2*d - 1 = 0
a*d^2 + b*d + c = 0
D = b^2 - 4 * a * c =
(-12)^2 - 4 * (-1) * (-50) = -56
d1 = (-b + sqrt(D)) / (2*a)
d2 = (-b - sqrt(D)) / (2*a)
____ d1 = -6 - I*\/ 14
____ d2 = -6 + I*\/ 14
d2 = -6 + sqrt(14)*i
sum
____ ____ -6 - I*\/ 14 + -6 + I*\/ 14
=
-12
product
/ ____\ / ____\ \-6 - I*\/ 14 /*\-6 + I*\/ 14 /
=
50
50
d1 = -6.0 - 3.74165738677394*i
d2 = -6.0 + 3.74165738677394*i
d2 = -6.0 + 3.74165738677394*i