you must use the following equation to resolve this problem, (x-h)^2 = 4p(y-k) where the verte of the parable is the point ( h, k) and it is given in the exercise
The directrix is therefore the horizontal line that passes through the point ( o, -p) and the the distance between the vertex and the focus is called focal distance and it is equal p