Write the equation of the parabola that meets each set of conditions.

The parabola has a horizontal axis and passes through the origin and points at (-1,2) and (3,-2).

Now I am not sure how to do this would I use the midpoint formula to find the vertex but If I do I end up with (1,0)(Crying)