Let be a circle, and let a line intersect at two points, and Circles and are internally tangent to at points and respectively, and both are tangent to at a common point Similarly, circles and are externally tangent to at and respectively, and are tangent to at points and respectively.
Given that the radius of is the segment has a length of and find the length of segment