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 * (1) * (14) = -20
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
sum
___ ___ 3 - I*\/ 5 + 3 + I*\/ 5
=
6
product
/ ___\ / ___\ \3 - I*\/ 5 /*\3 + I*\/ 5 /
=
14
14
___ x1 = 3 - I*\/ 5
___ x2 = 3 + I*\/ 5
x2 = 3 + sqrt(5)*i
x1 = 3.0 + 2.23606797749979*i
x2 = 3.0 - 2.23606797749979*i
x2 = 3.0 - 2.23606797749979*i