ab
Y-intercepts are found by setting the numerator equal to zero (since the fraction is equal to zero when the numerator is equal to zero) and solving.
Vertical asymptotes are found by setting the denominator equal to zero and solving.
The only way the and the would not cancel is if .
See where these hints lead you....