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