Simplify this rational expression

I think the problem is:

(x

^{2}-25)/(x^{2}-3x-10)The numerator factors to (x+5)(x-5)

The denominator factors to (x+2)(x-5)

So the rational expression becomes:

(x+5)(x-5)/(x+2)(x-5)

The (x-5) terms cancel, so the final answer is:

**(x+5)/(x+2), x≠-2 or 5**

## Comments

^{2}-25)/(x^{2}-3x-10) instead? Formatting really helps.