Hey kirinaallison, thanks for submitting your question to Brainly!
The answer is [tex] \frac{1}{x+5} [/tex]
[tex] x^{2} [/tex] +5x - 2x - 10
x(x+5) - 2 (x+5) - 2(x+5)
(x + 5) (x-2)
Hope my answer was well explained if you have any more questions reply to my answer. :)