Упростите выражение x(y-1)-((xy-x)-(y-xy))
X(y-1)-((xy-x)-(y-xy))=x(y-1)-(x(y-1)-y(1-x))=x(y-1)-x(y-1)+y(1-x)=y(1-x)=y-xy