Solve for b 6=f/b-g^2