2 - final
This will be the shortest distance on land. I drew a line that was perpendicular to the shore that passes through the point you are at, which is the shortest distance from you to the shore. Then, from that point, a straight line to your friends is the shortest path.