a/ x2 - xy + x - y
= x.(x-y) + (x-y)
= (x-y).(x+1)
b/ a2 + bx - ba - ax
= (a2 - ba) + (bx-ax)
= a.(a-b) + x.(b-a)
= a.(a-b) - x.(a-b)
= (a-b).(a-x)
c/ x2y + xy2 - x -y
= xy.(x + y ) - ( x+y)
= (x+y).(xy-1)
d/ x2 + x - y2 + y
= x2 - y2 + x + y
= (x+y).(x-y) + (x+y)
= (x+y). (x-y+1)
e/ x(x+y) - 5x - 5y
= x(x+y) - 5.(x+y)
= (x+y).(x-5)