The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-8)^2 - 4 * (1) * (6) = 40
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
____ x1 = 4 - \/ 10
____ x2 = 4 + \/ 10
x2 = sqrt(10) + 4
sum
____ ____ 4 - \/ 10 + 4 + \/ 10
=
8
product
/ ____\ / ____\ \4 - \/ 10 /*\4 + \/ 10 /
=
6
6