The derivation should give something which can be put into a form, , in which the vertex is (h,k), and the absolute value of p is how far is the distance of the vertex from either the focus or the directrix. p is a positive value if the parabola's vertex is a minimum; but p is a negative value if the vertex is a maximum.
You already were given that vertex is the origin, point (0,0), so your equation is of a simpler form, .