The absolute value of p is the distance between the vertex and the focus and the distance between the vertex and the directrix. (The sign on p tells me which way the parabola faces.) Since the focus and directrix are two units apart, then this distance has to be one unit, so.