Answer
$(m-7)(m+1)$.
Work Step by Step
The given polynomial is
$=m^2-6m-7$
Standard form is $x^2+bx+c$.
We have $b=-6$ and $c=-7$.
$b$ and $c$ is negative.
Factor pair of $-7$, whose sum is $-6$:-
$-7,1$
The values of $p$ and $q$ are $-7$ and $1$.
Hence, the factor of the polynomial is $(m+p)(m+q)=(m-7)(m+1)$.
Check:-
$=(m-7)(m+1)$
$=m^2+m-7m-7$
$=m^2-6m-7$
True.