Vertical asymptote :
.
Slant asymptote :
.
The function has vertical asymptote at
, if and only if the denominator is zero at
.
The function has slant asymptote at
, if the degree of the numerator is greater than the degree of denominator.
Hence, consider the function
.
Graph of the function
.

The function
.