Ответ:

5 + 21x + 12 = 6x - 13
21x + 17 = 6x - 13
21x - 6x = -13 - 17
15x = -30
x = -2