Ответ:

6x - 5 = 21x - 12 + 7
6x - 5 = 21x - 5
-15x = 0
x = 0