The teacher will be very surprised to see your correct solution 😉
9 - 7*(x + 3) = 5 - 6*x
9-7*(x+3) = 5-6*x
9-7*x-7*3 = 5-6*x
-12 - 7*x = 5-6*x
x = 17 / (-1)
x1 = -17
sum
-17
=
product
x1 = -17.0