Tech Mahindra interview question

Basic time and distance, probability question