Which statement describes the transformation of the graph of function f onto the graph of function g?
A. The graph shifts 3 units right and 5 units down.
B. The graph shifts 3 units left and 5 units up.
C. The graph shifts 5 units left and 3 units up.
D. The graph shifts 5 units right and 3 units down.