infosys - train a starts from secundrabad at 8pmreaches its destination bihar at 1 amanother train b starts at 8pm from bihar and reaches secundrabad at 2amthe two trains a and b will cross each other at - skillgun

Assume The distance from Secundrabad to Bihar is p km.so time taken from Secundrabad to Bihar is 8pm to 1 am is 5 hours so speed is p/5 km/h and time taken from from Bihar to Secundrabad is 6 hours so speed is p/6 km/h Then we take time q hours for two cross the two trains. So the distance covered by A train at p hours is pq/5 km and the distance covered by B train at Y hours is pq/6 km i.e., pq/5 + pq/6 = p
pq (1/5 + 1/6 ) = p
q(1/5 + 1/6 ) = 1
q (11/30) = 1
11q = 30.
q= 30/11 = 2.72 hours
So they meet after 2.72 hours from 8 pm.
That is, 8 pm + 2 hours + 45 minutes so 10.45 pm.