Приведем подобные члены:
$$m^4 - 3m^3n + n^2m^2 - m^2n^2 = m^4 - 3m^3n + (n^2m^2 - m^2n^2) = m^4 - 3m^3n$$
Ответ: $$m^4-3m^3n$$