General's Horse: Shortest Path Challenge

A general, located at point B, needs to ride to the river to let his horse drink, and then proceed to his barracks at point A. To save time and conserve the horse's energy, the general wants to find the point on the riverbank that will make his total travel distance (from B to the river, then to A) the shortest possible. Your challenge is to find this optimal point.

Level: 1

BAP1P2P3

Click on one of the orange points on the river to select your drinking spot.