Tech Mahindra Interview Question

Basic time and distance, probability question