Rewrite as (x−h)2=4p(y−k)(x-h)^2 = 4p(y-k)(x−h)2=4p(y−k) or (y−k)2=4p(x−h)(y-k)^2 = 4p(x-h)(y−k)2=4p(x−h); focus and directrix follow.