Step-by-step explanation
In general, a shift of a function f(x) in a units to the rigth is given by:

In this case, we have f(x) = log x, and g(x) = log(x - 2).
Comparing this data with the general transformation from above, we identify a = 2.
Answer
D. 2 units in the x direction