$$ \begin{aligned} 5(g+8)-7 &= 117-g&& \text{simplify left and right hand side} \\[1 em]5g+40-7 &= -g+117&& \\[1 em]5g+33 &= -g+117&& \text{move the $ \color{blue}{ -g } $ to the left side and $ \color{blue}{ 33 }$ to the right} \\[1 em]5g+g &= 117-33&& \text{simplify left and right hand side} \\[1 em]6g &= 84&& \text{ divide both sides by $ 6 $ } \\[1 em]g &= \frac{84}{6}&& \\[1 em]g &= 14&& \\[1 em] \end{aligned} $$
This page was created using
Equations Solver