well if you're soling for h you need to multiply each side by g
(g)h/g=7(g); this cancels out the g
the equations is no h=7g.
but if you're just rearranging subtract 7 to set it equal to zero h/g-7=0