Just use p is the distance from the vertex to the focus. (h,k) are the coordinates of the vertex. Just plug in. Solve for x if need be.