solve G = (H-F) / ((1-s*H)/(1-s)+(F*(1-s)/s)) for F