\[am-bm+an-bn\]

1
Factor out common terms in the first two terms, then in the last two terms.
m(ab)+n(ab)m(a-b)+n(a-b)

2
Factor out the common term aba-b.
(ab)(m+n)(a-b)(m+n)

Done

How can we make this solution more helpful?