F is the numerator of the fraction. To solve move g over to the opposite side by multiplying both sides by g:
F = h * g