The graph of f(x) = x2 is shifted 3 units to the right to obtain the graph of g(x). Which of the following equations best describes g(x)?

a. g(x) = (x + 3)2

b. g(x) = x2 − 3

c. g(x) = x2 + 3

d. g(x) = (x − 3)2