Ответ:

7x = 5 + 12x - 10
7x = 12x - 5
7x - 12x = -5
-5x = -5
x = 1