The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-9)^2 - 4 * (-5) * (12) = 321
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
_____ 9 \/ 321 x1 = - -- + ------- 10 10
_____ 9 \/ 321 x2 = - -- - ------- 10 10
x2 = -sqrt(321)/10 - 9/10
sum
_____ _____ 9 \/ 321 9 \/ 321 - -- + ------- + - -- - ------- 10 10 10 10
=
-9/5
product
/ _____\ / _____\ | 9 \/ 321 | | 9 \/ 321 | |- -- + -------|*|- -- - -------| \ 10 10 / \ 10 10 /
=
-12/5
-12/5