What is the solution?

Solve -30*g + 2867 = 74*g - 38*g + 359 for g.
38