The ans is 5 hoursTowns A and B are 400 miles apart . If train A leaves in direction of B at 50 mph , how long will it take before that train meets another train going from B to A at the speed of 30 mph ?

I calculated the time duration of first train is 13.3 hr and the second is 8hr.However i cant figure out when they will meet.