Ответ:

3x - 20x - 8 - 18x + 24 = 5
-35x + 16 = 5
-35x = 5 - 16
-35x = -11
x = 11/35