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