
You reflect a function with respect to the
axis by changing its sign.
In fact, if you consider the two alternatives
and

you can see that you're choosing opposite outputs for the same inputs.
In other words, one graph will be made of points like
, the other of points like

And the transformation

is exactly a reflection with respect to the
axis.