Dandeline spheres ellipse case in a cylinder

Spheres tangent to a plane and a cylinder, their points of contact
with the plane determine the foci of the ellipse in the space formed
by the intersection of the plane and the cylinder.