Answer
$g=8$.
Work Step by Step
The given equation is
$\Rightarrow (8-g)(8-g)=0$
Use zero-product property rule.
$\Rightarrow 8-g=0$ or $8-g=0$
Solve for $g$.
$\Rightarrow g=8$ or $g=8$
Check:-
$g=8$
$\Rightarrow (8-8)(8-8)=0$
$\Rightarrow (0)(0)=0$
$\Rightarrow 0=0$
True.
Hence, the solution is $g=8$.