x(a-x)(a-y)-y(x-a)(y-a)
=x(a-x)(a-y)-y(a-x)(a-y) 后面得到(a-x)(a-y)是将(x-a)(-1)(y-a)(-1)
=(x-y)(a-x)(a-y)
望采纳