f(x) + n - move the graph n units up
f(x) - n - move the graph n units down
n · f(x) - stretch by n in the y-direction
1/n · f(x) - compress by n in the y-direction
-------------------------------------------------------------------------
First:

Second:
