document.write( "Question 389014: Sam wants to swim in a river with a current of 2 miles an hour. He can travel 8 miles upstream and back in 3 hours. How fast is he in still water? \n" ); document.write( "
Algebra.Com's Answer #275483 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
let x =swim speed of of sam in still water
\n" ); document.write( "time = distance÷speed
\n" ); document.write( "downstream speed of sam =stillwater + current speed=(x+2)
\n" ); document.write( "upstream speed of sam= stillwater -current speed=(x-2)\r
\n" ); document.write( "\n" ); document.write( "time downstream + time upstream = 3\r
\n" ); document.write( "\n" ); document.write( "8/(x+2) +8/(x-2) = 3
\n" ); document.write( "LCD: (x=2)(x-2)
\n" ); document.write( "8(x-2)+8(x+2) =3(x+2)(x-2)=3(x^2-4)
\n" ); document.write( "8x-16+8x+16=3x^2-12
\n" ); document.write( "3x^2-16x-12 =0
\n" ); document.write( "(3x+2)(x-6) =0
\n" ); document.write( "x=6 or x=-2/3 (rejected, speed cannot be negative)
\n" ); document.write( "ans: swim speed of sam in still water = 6 mi/hr
\n" ); document.write( "
\n" );