8c + 12g = 364
c + 4g = 93
I would use substitution. First, solve the 2nd equation for c.
c = 93 - 4g
Now, substitute 93 - 4g for c in the first equation.
8(93 - 4g) + 12g = 364
Solve for g, then substitute the answer into the 2nd equation and solve for c.