g = 9
Explanation:
[tex]\begin{gathered} \frac{45}{g}=\frac{5}{1} \\ we\text{ cross multiply} \end{gathered}[/tex][tex]\begin{gathered} 45(1)\text{ = 5(g)} \\ 45\text{ = 5g} \\ \text{divide both sides by 5} \end{gathered}[/tex][tex]\begin{gathered} \frac{45}{5\text{ }}=\text{ }\frac{5g}{5} \\ 9\text{ = g} \\ \text{hence, g = 9} \end{gathered}[/tex]