Question 1195850
.


Nice solution to this problem was developed about  20  years ago  at this forum,  see the link


https://www.algebra.com/algebra/homework/Length-and-distance/Length-and-distance.faq.question.30634.html