midpoint ellipse and circle