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