document.write( "Question 1158408: Nickola swam at a rate of 3 ​km/hr and ran at a rate of 15 ​km/hr for a total distance traveled of  88.5 km. If he completed the race in 7.5 ​hours, how long did he take to complete each part of the​ race?\r
\n" ); document.write( "\n" ); document.write( "The time Nickola spent swimming is ? ​hours, and the time he spent running is
\n" ); document.write( "? hours.
\n" ); document.write( "

Algebra.Com's Answer #781346 by Shin123(626)\"\" \"About 
You can put this solution on YOUR website!
Suppose she swam for x hours and ran for y hours. \"system%28x%2By=7.5%2C3x%2B15y=88.5%29\"
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: System of Equations

\n" ); document.write( " We have the system of equations \r
\n" ); document.write( "\n" ); document.write( "\"system%281+x%2B1+y=7.5%2C3+x%2B15+y=88.5%29\". Solving the 2 equations for y gets you \r
\n" ); document.write( "\n" ); document.write( "y= -(1) x+(7.5)
\n" ); document.write( "y=-(0.2) x+(5.9) So -(1) x+(7.5)=-(0.2) x+(5.9). -0.8 x+ 7.5=5.9 -0.8 x=-1.6 \"highlight%28x=2%29\" Plug this value into either equation to find that \"highlight%28y=5.5%29\".\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
She spent 2 hours swimming and 5.5 hours running.
\n" ); document.write( "
\n" );