A boat traveled 240 miles downstream and back. The trip downstream took 10 hours. The trip back took 30 hours. What is the speed of the boat in Stillwater? What is the speed of the current?

Answer:
Speed of the boat in Still water = 16 mph
Speed of the current = 8 mph
Step-by-step explanation:
Let the speed of stream be s and speed of boat in still water be b.
Relative velocity during downstream motion = b + s
Relative velocity during upstream motion = b - s
Time taken for downstream motion = 10 hours
Time taken for upstream motion = 30 hours
Distance traveled by boat = 240 miles
Downstream motion:
Distance traveled by boat = Relative velocity during downstream motion x Time taken for downstream motion
240 = ( b + s) x 10
b + s = 24 -------------------- eqn 1
Upstream motion:
Distance traveled by boat = Relative velocity during upstream motion x Time taken for upstream motion
240 = ( b - s) x 30
b - s = 8 -------------------- eqn 2
eqn 1 + eqn 2
b + s + b - s = 24 + 8
2b = 32
b = 16 miles per hour
Substituting in eqn 1
16 + s = 24
s = 8 miles per hour
Speed of the boat in Still water = 16 mph
Speed of the current = 8 mph