Train A and train B are running on parallel tracks in the opposite directions with speeds of 36 km/hour and 72 km/hour