How can coordinates be used to locate a hidden treasure in a different scenario?