What is the solution to this math problem?
Solve -951 = -7*g - 1000 for g.
-7