We have the following:
The first thing is to simplify the expression as much as possible.
In the case of the vertical asymptote: The values that x cannot take is when it makes the denominator zero, therefore we must set the denominator equal to 0 and thus calculate the value of x that will make the function undefined.
2.

3.

4.

5.

6.
![undefined]()