Compare the graph of the function with the graph of f(x)=|x|

y=|-x|

they are the same

Just form a few ordered pairs for each one and graph them.