To answer this kind of questions, we need to take attention to the original function. In this case, the function is y = 1/x.
We can see from the graph that this function if we multiply this function by -1, the function takes the form of the graph. But we need to add to this function two units in the y-axis direction to obtain the function represented in the graph.
Therefore, the function that matches the one in the graph is y = -1/x +2 (option a).