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