document.write( "Question 937207: Last weekend Oscar traveled by train to visit his grandparents. On Friday he boarded an express train that traveled at an average rate of 85 miles per hour. On Sunday he returned home on a slower train that traveled at an average rate of 51 miles per hour. The total time Oscar spent on the trains last weekend was 8 hours. How many hours did Oscar spend on the train on Friday \n" ); document.write( "
Algebra.Com's Answer #570642 by srinivas.g(540)\"\" \"About 
You can put this solution on YOUR website!
let be x be the time spend on the train on Friday
\n" ); document.write( "ley y be the time spend on the train on sunday
\n" ); document.write( " total time spend on the trains = 8 hours
\n" ); document.write( " x+y =8 ..................eq(1)
\n" ); document.write( "let d be the distance from home to place of grand parents
\n" ); document.write( " during forward journey ,distance traveled = speed *time
\n" ); document.write( " =85*x
\n" ); document.write( "during return journey ,distance traveled = speed *time
\n" ); document.write( " =51*y
\n" ); document.write( "but in both journeys , distance traveled must be same
\n" ); document.write( " hence
\n" ); document.write( " 85x =51y
\n" ); document.write( " move 51y to the left
\n" ); document.write( " 85x-51y =0...................eq(2)
\n" ); document.write( "we need to eq(1), eq(2) to get x, y values
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE linear system by SUBSTITUTION
Solve:
\n" ); document.write( " \"+system%28+%0D%0A++++1%5Cx+%2B+1%5Cy+=+8%2C%0D%0A++++85%5Cx+%2B+-51%5Cy+=+0+%29%0D%0A++\"We'll use substitution. After moving 1*y to the right, we get:
\n" ); document.write( " \"1%2Ax+=+8+-+1%2Ay\", or \"x+=+8%2F1+-+1%2Ay%2F1\". Substitute that
\n" ); document.write( " into another equation:
\n" ); document.write( " \"85%2A%288%2F1+-+1%2Ay%2F1%29+%2B+-51%5Cy+=+0\" and simplify: So, we know that y=5. Since \"x+=+8%2F1+-+1%2Ay%2F1\", x=3.
\n" ); document.write( "
\n" ); document.write( " Answer: \"system%28+x=3%2C+y=5+%29\".
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " hence time spend on the train on Friday = 3 hrs
\n" ); document.write( "
\n" );