By Rational Root Theorem, all rational roots of a polynomial are in the form $\frac{p}{q}$, where $p$ divides the constant term $125$ and $q$ divides the leading coefficient $-1$. One such root is $5$. Factor the polynomial by dividing it by $m-5$. Polynomial $-m^{2}-5m-25$ is not factored since it does not have any rational roots.