The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-6)^2 - 4 * (7) * (2) = -20
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
___ 3 I*\/ 5 x1 = - - ------- 7 7
___ 3 I*\/ 5 x2 = - + ------- 7 7
x2 = 3/7 + sqrt(5)*i/7
sum
___ ___ 3 I*\/ 5 3 I*\/ 5 - - ------- + - + ------- 7 7 7 7
=
6/7
product
/ ___\ / ___\ |3 I*\/ 5 | |3 I*\/ 5 | |- - -------|*|- + -------| \7 7 / \7 7 /
=
2/7
2/7
x1 = 0.428571428571429 + 0.31943828249997*i
x2 = 0.428571428571429 - 0.31943828249997*i
x2 = 0.428571428571429 - 0.31943828249997*i