If we call the speed of the boat in still water s mph, and the speed of the stream is 2 mph, then
- the relative speed of the boat going against the stream (or upstream) is s - 2, and
- the relative speed of the boat going with the stream (or downstream) is s + 2
We know that: distance = speed × time
That means: time = distance / speed
If it takes the boat the same amount of time to travel 12 miles upstream (u) as it takes to travel 16 miles downstream (d), then timeu = timed or
distanceu / speedu = distanced / speedd
Substituting in the given distances and speeds, we get
12 / (s - 2) = 16 / (s + 2)
Now, we just solve for s
Cross multiply
12s + 24 = 16s - 32
Subtract 12s from and add 32 to both sides
56 = 4s
Divide both sides by 4
s = 56 / 4 = 14
Thus, the speed of the boat in still water is 14 mph