Ответ:

18 - 18x - 42 - 8x + 2 = 0
-26x - 22 = 0
-26x = 22
x = -22/26 = -11/13