Echo delay is t = 2d / c; weaker echoes come from smaller or farther objects.
Bat Echolocation: 2D Sonar
A bat chirps and times the echoes from two obstacles to find their distance.