#### Answer

$(m-1)(2m^2-7m+7)$

#### Work Step by Step

The factor $(m-1)$ is common to both terms.
Factor out $m-1$ to obtain:
$=(m-1)[2-3(m-1)+2(m-1)^2]$
Distribute $-3$ and square $(m-1)$to obtain:
$\\=(m-1)[2-3m+3+2(m^2-2m+1)]
\\=(m-1)(5-3m+2m^2-4m+2)
\\=(m-1)(2m^2-7m+7)$