What is the solution to this math problem?
Solve 36 = -37*z + 31*z for z.
-6