I'm trying to figure out an equation for the distance between the midpoints of a circle and an ellipse while they are tangent to each other as the ellipse rotates. The ellipse and the circle are centered on the same vertical axis and can only move relative to each other along that axis. See attached picture.