Solve -8 + 51 + 31 = -84*q - 10 for q.
-1