With same amount of time, if a boat moves upstream, it can move $80 \text{ m}$ and if that moves downstream it can also move $120 \text{ m}$. If the average speed of the boat is always $20 \text{ miles/h}$ without any influence with the water speed, what is the average speed of water in miles per hour? $$\text{(A) } 2\quad\text{ (B) } 4\quad\text{ (C) } 6\quad\text{ (D) } 8\quad\text{ (E) } 10$$
I tried setting up the problem with the distance, rate, time setup, but ended up confusing myself. Can somebody please explain?
Using the Distance, Rate, Time formula, $T=\frac{D}{R}$ and knowing the time is the same for both legs, you can say, $\frac{D}{R}=\frac{D}{R}$ or $\frac{80}{20-x}=\frac{120}{20+x}$ and solve for x.
(Because on the 120 meter leg, the stream speed is adding to your total speed, while on the 80 meter leg, the stream speed is subtracting from your total speed.)
$$\frac{80}{20-x}=\frac{120}{20+x}\\120(20-x)=80(20+x)$$