Let the equation of the ellipse be a2x2+b2y2=1
Which will pass through (-3,1) if a29+b21=1
and eccentricity =e=1−a2b2=52 ⇒52=1−a2b2 ⇒a2b2=53 ⇒b2=53a2
Thus a29+b21=1 a29+3a25=1 ⇒27+5=3a2=32 ⇒a2=332,b2=53×332=532
Required equation of the ellipse is 3x2+5y2=32