document.write( "Question 984754: A steamer is going downstream in a river and cover a distance between two villages in 20 hours and same distance it covers in 25 hours when he return back in upstream if the speed of the river is 4 km/h. Find the distance between two villages. \n" ); document.write( "
Algebra.Com's Answer #605589 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
ship speed=x
\n" ); document.write( "current speed=4 kph
\n" ); document.write( "The distance is (x+4)*20, units in km.
\n" ); document.write( "It is also ((x-4)*25.
\n" ); document.write( "Those two are equal.
\n" ); document.write( ";
\n" ); document.write( "(x+4)*20=(x-4)*25
\n" ); document.write( "20x+80=25x-100
\n" ); document.write( "-5x=-180
\n" ); document.write( "x=36 km/h
\n" ); document.write( ";
\n" ); document.write( "The speed is 40 km/h downstream *20 hours or 800 km.
\n" ); document.write( "Upstream, the speed is 32 km/h*25 hours or 800 km. \r
\n" ); document.write( "\n" ); document.write( "800 km is the distance.
\n" ); document.write( "
\n" ); document.write( "
\n" );