document.write( "Question 564616: Trains A and B leave the same city at right angles at the same time. Train B travels 5 mph faster than Train A. After 2 hours, they are 50 miles apart. Find the speed of each train. \n" ); document.write( "
Algebra.Com's Answer #365419 by ad_alta(240)\"\" \"About 
You can put this solution on YOUR website!
Let A have speed 'a.' Remember distance is rate times time, and the Pythagorean theorem. We then have (2a)^2+(2(a+5))^2=50^2. a=15, so the other rate is 20. \n" ); document.write( "
\n" );