Honestly I don't know what to do at this point
You are trying to find the distance d across the river, but your map is incomplete. ABC is similar to EDC
