p*[c*(x+y) + (1-c)*x] + (1-p)*b*[c*(-y) + (1-c)*x] where b = (-p*y)/[(p-1)*(x+y)]