train A and b are traveling in the same direction on parallel tracks. Train A is traveling at 40 mph, and B is at 60 mph. Train A passes the station at 12:25 am, and train b passes the station at 12:40 am, what time will train b catch up to train A?

Train A is 15 minutes ahead of train B when B passes the station or 10 km ahead

Let the time since 12:40 be t hours
when they meet, train went 10 + 40t miles
and train B went 60t miles

60t = 10+40t
20t = 10
t = 1/2

so they meet 1/2 hour past 12:40 or 1:10 pm