Solve this math problem

Solve 13*q = -42*q + 164*q - 8*q + 1212 for q.
-12