f(x) + n - shift the graph n units up
f(x) - n - shift the graph n units down
f(x + n) - shift the graph n units left
f(x - n) - shift the graph n units right
-----------------------------------------------------------------
We have f(x) = x² - 6x + 9
Shift 5 units to the right. Therefore
f(x - 5) = (x - 5)² - 6(x - 5) + 9
Answer: D. g(x) = (x - 5)² - 6(x - 5) + 9