You can put this solution on YOUR website! Divide and state any restrictions on the variables:
g^2/10h^6 x(multiply) 8h^3/7g^3
----
Restrictions: Both "h" and "g" cannot be zero.
--------------------
[g^2/10h^6]
--------
= [g^2/7g^3]
--------
= [1/7g] * [ 4/5h^3 ]
----
= 4/[35gh^3]
==================
Cheers,
Stan H.