Write down the solution for this math problem: Solve -395*g - 174*g + 9135 = 612*g - 166*g for g.
9