Solve this math problem

Solve -39 - 96 = -35*q + 8*q for q.
5