Answer
$2m+7$
Work Step by Step
Given \begin{equation}
\begin{aligned}
\left(2 m^2-5 m-42\right) \div(m-6)
\end{aligned}
\end{equation} Use synthetic division.
\begin{equation}
\begin{array}{r|rrr}
6& 2 & -5 & -42 \\
& & 12 & 42 \\
\hline & 2 & 7 & 0
\end{array}
\end{equation} The solution is
\begin{equation}
\begin{aligned}
\frac{2 m^2-5 m-42}{m-6}= 2m+7
\end{aligned}
\end{equation}