Question 35576
Both of them are correct

(a-b)(x-y) can be rewritten as follows

(a-b) = - (b-a) similarly (x-y)= -(y-x)

(a-b)(x-y) = -(b-a)*-(y-x) = -1*-1 (b-a)(y-x) = (b-a)(y-x)