The axis of symmetry is perpendicular to the directrix and the focus lies on the axis of symmetry. So, the axis of symmetry is the vertical line x = 5. The vertex of the parabola lies on the axis of symmetry and is halfway between the focus and directrix. So, the vertex is (5, -2). The focus lies above the vertex, so the parabola opens upward.
Equation of parabola has the form y = a(x - 5)2 - 2.
a > 0 and a = 1/(4p), where p is the distance from the vertex to the focus. So, p = 8 and a = 1/32.
Note: p is positive since the focus lies above the vertex. If the focus had been below the vertex, then p would have been negative.
Equation of parabola: y = (1/32)(x - 5)2 - 2
Another approach is to use the definition of parabola: A parabola is the set of all points equidistant from the focus and directrix.
If we let (x,y) be a point on the parabola, than using the distance formula and the definition of parabola and squaring both sides, we have:
(x-5)2 + (y-6)2 = (x-x)2 + (y-(-10))2
So, (x-5)2 + y2 - 12y + 36 = y2 + 20y + 100
(x-5)2 -32y - 64 = 0
-32y = -(x-5)2 + 64
So, y = (1/32)(x-5)2 - 2