Answer
Please see the work below.
Work Step by Step
We know that
$E_{potetnial}=mgh$
This can be rearranged as
$g=\frac{E_{potential}}{mh}$
We can write the above equation for SI units as
$\frac{(\frac{Kg.m^2}{s^2})}{(Kg.m)}=\frac{m}{s^2}$