What is the solution to this math problem?
Solve -109*a + 77*a - 2945 = 63*a for a.
-31