we have the following:
A.
[tex]\begin{gathered} \mleft(x-h\mright)^2=4p\cdot\mleft(y-k\mright) \\ focus(0,1) \\ directrix,x=3. \\ p=\frac{1}{2} \\ k=1 \\ h=0 \\ (x-0)^2=4\frac{1}{2}\cdot(y-1)\text{ } \\ x^2=2\cdot(y-1)\text{ } \end{gathered}[/tex]B.
[tex]\begin{gathered} (x-h)^2=4p\cdot(y-k) \\ focus(0,1) \\ vertex(2,4) \\ p=2-0=2 \\ h=2 \\ k=4 \\ (x-2)^2=4\cdot2\cdot(y-4) \\ (x-2)^2=8\cdot(y-4) \end{gathered}[/tex]