two trains left Metropolis at the same time. One traveled south at 50 mph. The other traveled east at 40 mph. How far apart were the trains at the end of 3 hours?