In this case, we have the following graph:

After sketching, we can see that the equation required is in the following form, since we have a horizontal axis:
y2 = 4px
Since p = -2 (from the question), we can directly write the equation of the parabola:
y2 = -8x