The teacher will be very surprised to see your correct solution 😉
|x + |2*x + 1|| = 8
x1 = -9
x2 = 7/3
sum
-9 + 7/3
=
-20/3
product
-9*7 ---- 3
-21
x1 = 2.33333333333333
x2 = -9.0