To solve a problem like this, we need to get all of the variables to once side, isolate the variable, and simplify. To do this, we should do the opposite operations of the values on both sides of the equation.
15-g=23-2g
+2g +2g
15+g=23
-15 -15
g=8
Using the math above, we can see that g=8.