Answer :

10.

8x + 40 -2x +20 = 96 => 6x + 60 =96 => 6x = 36 => x = 6.