Write down the solution for this math problem: Solve -344 = -31*g - 375 for g.
-1