Ответ:

8x - 18 = 6x - 2x + 10
8x - 18 = 4x + 10
4x = 28
x = 7