document.write( "Question 767494: A student travelled for X hours at 5km/hr and for Y hours at 10km/hr. The journey was 35 km altogether, find XandY if the average speed for the journey was 7 km/hr \n" ); document.write( "
Algebra.Com's Answer #467658 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
Make a data table.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "_____________________speed__________time____________distance
\n" ); document.write( "_____________________5______________x______________(___)
\n" ); document.write( "_____________________10_____________y______________(___)
\n" ); document.write( "TOTAL________________|____________x+y______________35\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We want to solve for x and y somehow. First we could fill in the distance expressions, in case it helps sooner in the process:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "_____________________speed__________time____________distance
\n" ); document.write( "_____________________5______________x______________(5x)
\n" ); document.write( "_____________________10_____________y______________(10y)
\n" ); document.write( "TOTAL________________|____________x+y______________35\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We must try to do something with the average speed reported of 7 km/hr.
\n" ); document.write( "Total distance compared to total time should be this average:
\n" ); document.write( "\"35%2F%28x%2By%29=7\"
\n" ); document.write( "\"5%2F%28x%2By%29=1\"
\n" ); document.write( "\"x%2By=5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We also have a distance equation about total distance traveled:
\n" ); document.write( "\"5x%2B10y=35\"
\n" ); document.write( "\"x%2B2y=7\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solve the system for x and y:
\n" ); document.write( "\"x%2By=5\" and \"x%2B2y=7\"
\n" ); document.write( "Subtract first from second.
\n" ); document.write( "\"0%2By=7-5\"
\n" ); document.write( "____________________________________________
\n" ); document.write( "ANSWER:___________\"y=2\" so \"x=3\"____________\r
\n" ); document.write( "\n" ); document.write( "____________________________________________\r
\n" ); document.write( "\n" ); document.write( "ANSWER: 3 hours at 5 km/h and 2 hours at 10 km/h
\n" ); document.write( "
\n" );