Let's analyze the function:

To do this let's first find the domain of the function, since this is a rational function we know that the denominator can be zero so let's find for which values of x this happens:

Hence we conclude that the fucntion is not defined for x=5 or x=-1, which means that the domain of the function is:

This also means that we may have somo vertical asympotes at x=5 and x=-1; to determine if we do we need to calculate the one-sided limits at those points if the result is negative or positive infinity we have vertical asymptotes. Let's calculate this limits:

and

To determine this limits we notice that, as we approach both values the denominator increases arbitrarily when they approach the number from the left; for example, notice that:

as we approach more an more to -1 the function value will increase and for that reason we conclude the results of the limits are what we stated.
Now, let's determine the zeros of the function:

Hence the function is zero at x=3 and x=1.
Therefore, we conclude that the local behavior of the functions is:
• The function has two vertical asymptotes: x=-1 and x=5
,
• The zeros of the function are x=3 and x=1.
Now, let's find the end behavior. To do this we calculate the limits:

Let's find the first one:

And:

Since both limits are the same we can conclude that we only have one horizontal asymptote, and that it's given as:

Therefore, the horizontal asymptote is y=1 and this described the end behaviour of the function that can be also written as:

All the information we found can be seen in the graph of the function: