[ - 35 + ( - x ) - 18 ] + ( 36 + 19 - 8 ) = 40
[ - 35 + ( - x ) - 18 ] + 47 = 40
- 35 + ( - x ) - 18 = 40 - 47
- 35 + ( - x ) - 18 = - 7
- 35 + ( - x ) = - 7 + 18
- 35 + ( - x ) = 11
- x = 36
x = - 36
[- 35 + ( - x ) - 18 ] + ( 36 + 19 - 8 ) = 40
[ - 35 + ( - x ) - 18 ] + 47 = 40
- 35 + ( - x ) - 18 = 40 - 47
- 35 + ( - x ) - 18 = - 7
- 35 + ( - x ) = - 7 + 18
- 35 + ( - x ) = 11
- x = 36
x = - 36