Train X: Agra 5 PM → Delhi 10 PM (5 hrs)
Train Y: Agra 7 PM → Delhi 11 PM (4 hrs)
Find meeting time.
Let distance = D km.
Train X has 2-hour head start. At 7 PM, X has covered (D/5)×2 = 2D/5. Remaining distance = 3D/5.
Relative speed (both moving toward Delhi) = D/4 – D/5 = D/20 km/h.
Time after 7 PM to meet = (3D/5) ÷ (D/20) = 12 hours.
Meeting time = 7 PM + 12 hours = 7 AM next day.
Correct approach: Y catches X.
Head start distance = (D/5)×2 = 2D/5.
Relative speed = D/4 – D/5 = D/20.
Catch-up time = (2D/5) / (D/20) = 8 hours after 7 PM = 3 AM next day.
At 3 AM: X traveled 10 hrs (2D), Y traveled 8 hrs (2D). Both at 2D from Agra. But total distance is D. Contradiction: they'd meet before Delhi only if 2D < D → impossible. So Y catches X at or after Delhi? No—Y arrives Delhi at 11 PM (4 hrs after 7 PM). X arrives at 10 PM. X arrives before Y. They don't meet en route; X arrives first.
Conclusion: They do not meet between Agra and Delhi. Train X arrives at 10 PM; Train Y departs at 7 PM and arrives at 11 PM. X is already in Delhi when Y is still traveling.