The teacher will be very surprised to see your correct solution 😉
2 2 2 (x - 4) + (x + 9) = 2*x
(x-4)^2+(x+9)^2 = 2*x^2
16 + x^2 - 8*x + (x + 9)^2 = 2*x^2
16 + x^2 - 8*x + 81 + x^2 + 18*x = 2*x^2
97 + 10*x = 0
x = -97 / (10)
sum
-97 ---- 10
=
-97 ---- 10
product
-97 ---- 10
=
-97 ---- 10
-97/10