Solve for h f=7gh