solve p*(-y) + k*b*(x+y) = 0 for b