let the equation be [tex]\frac{x^2}{a^2}+\frac{y^2}{b^2}=1[/tex]
because the length of major axis is 6, 2a=6. then a=3, a²=9.
c=2, [tex]a^2-b^2=c^2[/tex], so [tex]b^2=5[/tex]
therefore, the equation is
[tex]\frac{x^2}9+\frac{y^2}5=1[/tex]
if right please mark me brainliest, thanks.