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) * (-8) = 68
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
sum
____ ____ -3 + \/ 17 + -3 - \/ 17
=
-6
product
/ ____\ / ____\ \-3 + \/ 17 /*\-3 - \/ 17 /
=
-8
-8
____ x1 = -3 + \/ 17
____ x2 = -3 - \/ 17
x2 = -sqrt(17) - 3