I really need help. it's Pythagorean theorem and I don't understand how to do this question.
two trains left Metropolis at the same time. one traveled South at 50mph. the other traveled East at 40mph. How far apart were the trains at the end of three hours?