We can reflect the graph of y=f(x) over the x-axis by graphing y=-f(x) and over the y-axis by graphing y=f(-x). See this in action and understand why it happens.
License: CC BY-NC-SA by Khan Academy