The teacher will be very surprised to see your correct solution 😉
-x 2 = 3*x + 5
sum
-1
=
product
x_1 = -1
x1 = -1.0