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