The coordinates of the two foci are (1,-7) and (1,-1). That tells us...
(1) The center of the ellipse is (1,-4);
(2) the major axis is vertical; and
(3) the distance from the center to each focus is 3.
The standard form for the equation of an ellipse with a vertical major axis is
(h,k) is the center of the ellipse ((1,-4) in this example);
a is the semi-major axis (5 in this example);
b is the semi-minor axis;
and the values of a and b are related by the equation , where c is the distance from the center of the ellipse to each focus (3 in this example).
In this example, since a is 5 and c is 3, b is 4.
And now we have all the specific values needed to write the equation of this ellipse: