Step 1: Ram's journey:
Ram starts at 9:00 a.m. at 5 km/h. He reaches B (5 km away) at 10:00 a.m. and then runs back towards A.
Step 2: Shyam's journey:
Shyam starts at 9:45 a.m. at 10 km/h. He covers the 5 km to B in 30 minutes, so he reaches B at 10:15 a.m. and then runs back towards A.
Step 3: Positions at 10:15 a.m.:
Ram turned at 10:00, so in 15 minutes he has covered \(5 \times \tfrac{1}{4} = 1.25\) km on the way back. He is 3.75 km from A, i.e. 1.25 km short of B. Shyam is at B (5 km from A).
Step 4: Who is overtaking whom:
Before this, Shyam was running towards B while Ram was coming back, so they met face to face (at 10:10 a.m.) - that is a meeting, not an overtaking. After 10:15 both run towards A, Shyam at 10 km/h and Ram at 5 km/h, and Shyam is 1.25 km behind Ram. Shyam gains 5 km/h on Ram.
Step 5: Time to catch up:
\(\dfrac{1.25}{10 - 5} = 0.25\) hour = 15 minutes after 10:15 a.m., i.e. at 10:30 a.m. (the spot is 2.5 km from A, and Ram has not yet reached A).
Final Answer:
The correct option is (3): 10:30 a.m.