What is the solution to this math problem?
Solve 6009*g = 11971*g - 6011*g + 1176 for g.
24