Two trains leave stations 50 miles apart at the same time heading toward one another on parallel tracks. Train A is traveling 40 miles per hour, while Train B is going 60 miles per hour.
How long after they start do the two trains pass each other?
Express your answer in hours, using decimals where needed.