Simplify (m+p)(m^2-2mp+p^2)