The teacher will be very surprised to see your correct solution 😉
(x + 2)*(x + 1)*(x - 1)*(x - 3) = 0
x1 = -2
x2 = -1
x3 = 1
x4 = 3
sum
-2 - 1 + 1 + 3
=
1
product
-2*(-1)*3
6
x1 = -2.0
x2 = 3.0
x3 = 1.0
x4 = -1.0