Solve for f (k-g)/(f-7)=h