\[\frac{m^{3} + 8}{m^{2} - 2m + 4} =\]
\[= \frac{(m + 2)\left( m^{2} - 2m + 4 \right)}{m^{2} - 2m + 4} =\]
\[= m + 2\]