Solve this math problem

Solve 0 = 184*g - 6195 + 16131 for g.
-54