Question 84515
{{{ax-ay+x^2-xy}}} Start with the given equation


{{{(ax-ay)+(x^2-xy)}}}  Group like terms


{{{a(x-y)+x(x-y)}}} Factor an "a" out of the first group and factor an "x" out of the second group


{{{(a+x)(x-y)}}} Combine like terms


So {{{ax-ay+x^2-xy}}} factors to {{{(a+x)(x-y)}}}


Notice that if we foil {{{(a+x)(x-y)}}} we get {{{ax-ay+x^2-xy}}}. This verifies our answer.