Two circles intersect at points A and B. Point X lies on the line AB, but not on the segment AB. Prove that the lengths of all of the tangents drawn from X to the circles are equal.