find the time they will take to pass each other.