Equation of Parabola is:

where (h,k) is vertex and p = k - directrix
The vertex can be found by taking midpoint between focus and directrix:
Notice we will use y-coordinate since directrix is horizontal line (y=?)

This is the y-value of vertex or k. The x-value of vertex is same as focus.

Next find p:

Finally we can write equation of parabola by plugging in values for h,k,p:
