All that is necessary is to add the two distances
they meet to
twice their difference.
Thus 720 + 400 + 640 = 1760 yards, or one mile,
which is the distance required.
Or, put another way, three times the
first distance less the second distance will always give the answer,
the first distance should be more than two-thirds of the second.