Vertical asymptote :
.
Slant asymptote :
.
The function has vertical asymptote at
, if and only if the denominator has a 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
.
Graph :
\
The function
.