Answer
$\dfrac{x^2}{1}-\dfrac{y^2}{8}=1$
Work Step by Step
The eccentricity of the ellipse $\dfrac{x^2}{m^2}+\dfrac{y^2}{n^2}=1$ when $m \gt n$ is given by:
$e=\dfrac{\sqrt {m^2-n^2}}{m}$
The foci of the ellipse are: $(\pm me,0)$ and the directrices are given as: $x=\pm \dfrac{m}{e}$
Given: Vertices: $(\pm 3,0); e=3$
so, $e=\dfrac{c}{a}=3\implies c=3p=(3)(1)=3$
Also, $q^2=c^2-p^2=9-1=8$
so, the equation of the ellipse is:
$\dfrac{x^2}{1}-\dfrac{y^2}{8}=1$