Write down the solution for this math problem: Solve -217 = 48*g + 83 + 36 for g.
-7