The equation for the sketched graph is

Finding an equation for the sketched graph
From the question, we have the following parameters that can be used in our computation:
The graph
The equation for the sketched graph is represented as

Where c is the asymptote
In this case, the asymptote is at x = -2
So, we have

Using the points on the graph, we have


This gives
-1 = a - 2
Evaluate
a = 1
Recall that

So, we have
2 = b - 2
b = 4
So, the equation is

Hence, the equation for the sketched graph is
