Foci of the ellipse and vertices are
.
The coordinate in foci and vertices are same, so the ellipse is vertical.
Standard form of horizontal ellipse .
Where .
is length of semi major axis and
is length of semi minor axis.
Center is , vertices
.
Foci and
.
Vertices are .
The coordinate of center is
.
.
Center is .
Find the values of ,
.
Substitute in equation (1).
Foci .
Substitute in equation (3).
is the distance from center to each focus.
Substitute ,
and
in standard form.
The ellipse equation is .