Triangle has sides ,, and . Let be the points on segments , respectively, such that and . Suppose lines and intersect at and the circumcircles of and intersect at a second point . If the length of segment can be expressed in the form for positive integers , where is not divisible by the square of any prime, find .