Ответ:

2 - 5x + 40 = x - 3
-5x + 42 = x - 3
45 = 6x
x = 7.5