Answer:
28
Step-by-step explanation:
g+6-3=31
Combine like terms
g+3=31
Subtract 3 from both sides
g = 28
g + 6 - 3 = 31
g + 3 = 31
g = 31 - 3