Which of the following rational functions is graphed below?

Answer:
D
Step-by-step explanation:
I looked at the vertical asymptotes. -1 and 2. from the knowledge I have the answer with x=-1, 2 is D.