Answer
$\dfrac{y^2}{1}-\dfrac{x^2}{24}=1$
Work Step by Step
The standard form of the equation of the ellipse when the major axis is horizontal can be expressed as: $\dfrac{(x-h)^2}{a^2}+\dfrac{(y-k)^2}{b^2}=1$ in which $(h,k)$ is the center, $2a$ is the major axis length, and $2b$ is the minor axis length.
The standard form of the equation of the ellipse when the major axis is vertical can be expressed as: $\dfrac{(x-h)^2}{b^2}+\dfrac{(y-k)^2}{a^2}=1$ in which $(h,k)$ is the center, $2a$ is the major axis length, and $2b$ is the minor axis length.
The center is the midpoint of the foci : $(\dfrac{0+4}{2}, \dfrac{0+0}{2})=(2, 0)$
Since the ellipse is in the horizontal axis, the distance between the vertices is equal to $2a$:
$b=\sqrt{a^2-c^2}=\sqrt {5^2-1^2}=\sqrt {24}$
$\dfrac{y^2}{a^2}-\dfrac{x^2}{b^2}=1$
or, $\dfrac{y^2}{1}-\dfrac{x^2}{24}=1$