document.write( "Question 570945: Wendy took a trip from city A to city B, a distance of 340 mi. She traveled part of the way by bus, which arrived at the train station just in time for Wendy to complete her journey by train. The bus averaged 40 mi/h, and the train averaged 120 mi/h. The entire trip took 4.5h. How long did Wendy spend on the train? \n" ); document.write( "
Algebra.Com's Answer #367895 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
Wendy took a trip from city A to city B, a distance of 340 mi. She traveled part of the way by bus, which arrived at the train station just in time for Wendy to complete her journey by train. The bus averaged 40 mi/h, and the train averaged 120 mi/h. The entire trip took 4.5h. How long did Wendy spend on the train?
\n" ); document.write( "**
\n" ); document.write( "let x=distance Wendy traveled on the bus
\n" ); document.write( "340-x=distance Wendy traveled on the train
\n" ); document.write( "Travel time=distance/speed
\n" ); document.write( "..
\n" ); document.write( "x/40+(340-x)/120=4.5
\n" ); document.write( "LCD=120
\n" ); document.write( "3x+340-x=4.5*120
\n" ); document.write( "2x=540-340=200
\n" ); document.write( "x=100
\n" ); document.write( "(340-x)/120=240/120=2
\n" ); document.write( "ans:
\n" ); document.write( "hours Wendy spent on the train=2
\n" ); document.write( "
\n" ); document.write( "
\n" );