Answer
$ \quad \displaystyle \frac{x^{2}}{9}+\frac{y^{2}}{5}=1$
Work Step by Step
The center is at the midpoint of the foci, $(0,0)$
The foci, center and vertices lie on the same line, the main axis.
Main axis here: $y=0$ (the x-axis).
Table 3: Major axis horizontal (parallel to the x-axis)$\begin{array}{lll}
\text{ Foci}&\text{ Vertices}&\text{ Equation}\\
{(h+c, k)}&{(h+a,k)}&{\displaystyle \frac{(x-h)^{2}}{a^{2}}+\frac{(y-k)^{2}}{b^{2}}=1}\\
{(h-c,k)}&{(h-a,k)}&{a \gt b \gt 0\text{ and }b^{2}=a^{2}-c^{2}}\\ \end{array}$
---
The length of the major axis = $2a \quad \Rightarrow \quad a=3$
Foci: $(\pm 2,0) \quad \Rightarrow \quad c=2$
Find b:
$b^{2}=a^{2}-c^{2}=9-4=5$
$b=\sqrt{5}\approx 2.236$
The equation is $ \quad \displaystyle \frac{x^{2}}{9}+\frac{y^{2}}{5}=1$