Simplify the following expression.
a^2-25/a^2+7a+10
a^2-25/a^2+7a+10 factor top and bottom
[ (a + 5) (a - 5) ] / [ ( a + 5) ( a + 2) ] " cancel" (a + 5) factors
( a - 5) / ( a + 2)