factor by grouping

6m^2 - 6mn + n - m : Rewrite the terms in an order which allows at least a pair of terms to be factored.

6m(m - n) - (m - n) : Factor each set of terms such that the same factor is inside each set of ( )

(6m - 1)(m - n) : Factor the (m - n)