Ответ:

5x - 24 + 28x - 12x - 9 = 2
21x - 33 = 2
21x = 35
x = 35/21 = 5/3