Write down the solution for this math problem: Solve -144*g - 176*g + 586*g = 209*g + 2622 for g.
46