document.write( "Question 701847: A steamer goes downstream in a river, covers the distance between 2 towns in 15
\n" ); document.write( "hours. Coming back upstream, it covers this distance in 20 hours. The speed of the water is 3 km/h,find the distance between two towns.
\n" ); document.write( "

Algebra.Com's Answer #432677 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
A steamer goes downstream in a river, covers the distance between 2 towns in 15
\n" ); document.write( "hours. Coming back upstream, it covers this distance in 20 hours. The speed of the water is 3 km/h,find the distance between two towns.
\n" ); document.write( "**
\n" ); document.write( "let x=speed of steamer in still water
\n" ); document.write( "x+3=speed of steamer downstream
\n" ); document.write( "x-3=speed of steamer upstream
\n" ); document.write( "distance=travel time*speed (same for both directions)
\n" ); document.write( "..
\n" ); document.write( "15(x+3)=20(x-3)
\n" ); document.write( "15x+45=20x-60
\n" ); document.write( "5x=105
\n" ); document.write( "x=21
\n" ); document.write( "distance=15(x+3)=15*24=360
\n" ); document.write( "distance between two towns=360 km
\n" ); document.write( "
\n" );