how to check with destination is easier for nav mesh agent to reach?

hi guys, actually i have multiple targets for my agent, i want to know which one of them is easier for agent to reach based on areas costs and distance?(all of targets are reachable)

Search for a “Shortest Path Algorithm”. This kind of thing is quite common in discussion of AI or gaming in general.