How does the formula of a parabola change when it opens right or left compared to up or down?

With respect to the vertex of the parabola, where is the directrix located? Where is the focus located?

Given the equation of a parabola, what formula would you use to find the focus? The directrix?

Given the directrix and focus, how would you write the equation of the parabola?