Question 84361
Your numbers are right, but your signs are not. Let's see why.

x^2+6x-40/x^2-100

= (x + 10)(x - 4)/(x + 10)(x - 10)

= (x - 4)/(x - 10)

Do you understand?