The teacher will be very surprised to see your correct solution 😉
10*x - 8 = 20*x + 74
10*x-8 = 20*x+74
x = 82 / (-10)
x_1 = -41/5
sum
-41/5
=
product
x1 = -8.2