The transformation that shifts a function along the
is
, which shifts the function to the left, and
, which shifts the function to the right.
The transformation that shifts a function along the
is
, which shifts the function up, and
, which shifts the function down
Hence, the correct answer is D: