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