It is given that, length of major axis 26, foci (±5,0).
Since, the foci are on the x-axis the major axis is along the x-axis.
Therefore, the equation of the ellipse will be of the form x2a2+y2b2=1 where a is the semi-major axis.
⇒2a=26⇒a=13 and ae=5
We know that, b2=a2−a2e2=169−25=144
Thus, the equation of the ellipse is x2169+y2144=1