rewrite this

By joining the entry point of all three friends to form a triangle and then finding the centroid of this triangle , they can calculate the required point.

First join all the three entry points of the friends in order to form a triangle.

Now we need to find the centroid of the triangle, so all three must start moving in the direction of the midpoint of the opposite side.

In this way, the point equidistant from all the three gates can be calculated

To calculate the desired point, the friends can connect their entry points to form a triangle. They can then determine the centroid of this triangle.

Initially, they should join their entry points to create a triangle shape.

Next, they need to identify the midpoint of the side opposite to their current positions. All three friends should start moving towards this midpoint.

By following this approach, they will be able to calculate the point that is equidistant from all three entry gates.