Google ClassroomGoogle Classroom
GeoGebraGeoGebra Classroom

5

The shortest path goes through a point that lies on a line perpendicular to the line straight from you to your friend that passes through the midpoint between those two points.