Write down the solution for this math problem: Solve -8024*g - 487874 + 158131 = 54262 + 161627 for g.
-68