Question 774347
x-y+a(y-x) is not an equation...?

Assuming you want to factor, we could write it as


-1(y-x)+a(y-x)=
(a-1)(y-x)

if this isn't what you need, please repost with a clear and complete question :)