Respuesta :

[tex]m^2-10m-1- \frac{10}{m-5} [/tex]
                       or
[tex] \frac{m^3-15m^2+49m-5}{m-5} [/tex]

Hope this helps!!