Final answer:
To obtain the graph of g(x)=|x-2| from f(x)=|x|, translate the graph of f(x) to the right by 2 units.
Step-by-step explanation:
To obtain the graph of g(x)=|x−2| from the graph of f(x)=|x|, you need to translate the graph of f(x) horizontally. This is done by changing the argument of the absolute value function. If you compare f(x) and g(x), you can see that the 'x' in f(x) is replaced by x - 2 in g(x). This means that every point on the graph of f(x) has been moved to the right by 2 units. Therefore, the correct answer is B) 2 units.