We want the form
4p (y - k) = (x - h)^2
Where the vertex is (-2 ,6+ p) and p = ( y coordinate of the focus - y value of the directrix) / 2 =( 4 - 6)/2 = -2/2 = -1
So the vertex = (-2, 5) = (h,k)
So we have
4(-1) (y -5) = ( x - -2)^2 simplify
-4(y - 5) = ( x + 2)^2
-4y + 20 = x^2 + 4x + 4 subtract 20 from both sides
-4y = x^2 + 4x - 16 divide through by -4
y = (-1/4)x^2 - x + 4
Here's the graph : https://www.desmos.com/calculator/1khnfskw3p
