a(x-y)-b(x-y)-c(y-x)
=a(x-y)-b(x-y)+c(x-y)
=(a-b+c)(x-y)
(b-a)^2-2a+2b
=-(a-b)^2-2(a-b)
=-4(a-b)
x(x-y)(a-b)-y(y-x)(b-a)
=(x-y)2(a-b)
a(x-y)-b(x-y)-c(y-x)
=a(x-y)-b(x-y)+c(x-y)
=(a-b+c)(x-y)
(b-a)^2-2a+2b
=-(a-b)^2-2(a-b)
=-4(a-b)
x(x-y)(a-b)-y(y-x)(b-a)
=(x-y)2(a-b)