You can obtain the red graph by reflecting the black graph over the y axis.
Reflections over the y axis are obtaining by changing the orientation of the x axis, i.e. by mapping

So, in particular, given a function f(x), you reflect it over the y axis by writing f(-x).
You only need to observe that

to conclude the exercise.