Hey Mona,
For this question, X can be any real number.
Because if we do some factoring for the numerator, it will give you (x+2)(x+5)(x-5). If we do factoring for the numerator, it will give you (x+2)(x+5). As you can see, some of them canceled each other. So what's being left is only (x-5).