Remember that domain guys are all the x's that you are allowed to put into a function... and the range guys are all the guys that get spit out of the function:

domain guys  ->  rule  ->  range guys
 

x guys  ->  rule  ->  f(x) guys
 

And remember that

f(x) is just another name for y!