It's a bit hard to understand this because you have left out the first part of that. I think the problem is to find the limit, as x goes to 5 of
\frac{x^2- 2x- 15}{x- 5}
Now, polynomials, rational functions, etc. have the nice property that they are continuous wherever they are defined. That is, the limit, as x approaches that point, is the same as the value of the function at that point. So the first thing one would want to try is to evaluate the function there: This is a rational function but setting x= 5 gives \frac{25- 10- 15}{5- 5}= \frac{0}{0}. That is, of course, not a number because we cannot divide by 0- the function is NOT continuous at x= 5. However, there is a very important property of limits- the limit, as x goes to a, of f(x) depends upon values of f(x) close to a but does NOT depend on f(a), the value of f(x) at x= a. In more technical terms, "If there exist an interval, [b, c], containing a, such that f(x)= g(x) for all x in [b, c] except at x= a, then \lim_{x\to a} f(x)= \lim_{x\to a} g(x)
Here, f(x)= \frac{x^2- 2x- 15}{x- 5}. If we set x= 0 into that, we get "\frac{0}{0}" which is "undetermined". (Notice that that fact that x^2- 2x- 15 is 0 at x= 5 means that x- 5 is a factor of that polynomial. The reason he "does this numerator thing" is that he is showing that x^2- 2x- 15= (x- 5)(x+ 3). So we can write \frac{x^2- 2x- 15}{x- 5}= \frac{(x- 5)(x+ 3)}{x- 5}. Again, that fraction is not defined at x= 5. But as long as x is not 5, \frac{(x- 5)(x+ 3)}{x- 5}= x+ 3 since the two "x- 5" terms cancel. So we have \frac{(x- 5)(x+ 3)}{x- 5}= x+ 3 for all x except x= 5 which means they have the same limit at x= 5. It is easy to see that the limit of x+ 3, as well as the original fraction, is 5+ 3= 8.