This is another fairly simple puzzle from Futility Closet.
“If an equilateral triangle is inscribed in a circle, then the distance from any point on the circle to the triangle’s farthest vertex is equal to the sum of its distances to the two nearer vertices (q = p + r).
(A corollary of Ptolemy’s theorem.)”
See A Tidy Theorem