[tex] \frac{5}{8} = \frac{12}{g} [/tex]
Let us use cross multiplication to find the value of g :-
[tex] \frac{5}{8} = \frac{12}{g} [/tex]
[tex]5 \times g = 12 \times 8[/tex]
[tex]5g = 96[/tex]
[tex]\color{hotpink}g = \frac{96}{5} [/tex]
Therefore , the value of g in this equation :-
[tex]\color{hotpink}g = \frac{96}{5}[/tex]