The direction along the stream in water is called downstream.
When the speed of a boat in still water is a miles/hr and the speed of the stream is b miles/hr,
Speed downstream = (a + b) miles/hr
The direction against the stream in water is called upstream.
When the speed of a boat in still water is a miles/hr and the speed of the stream is b miles/hr,
Speed upstream = (a - b) miles/hr
When the speed downstream is u miles/hr and the speed upstream stream is v miles/hr,
When the speed of a boat in still water is a miles/hr and the speed of the stream is b miles/hr,
Speed in still water = $\frac{1}{2}$ x (u + v) miles/hr
When the speed downstream is u miles/hr and the speed upstream stream is v miles/hr,
When the speed of a boat in still water is a miles/hr and the speed of the stream is b miles/hr,
Rate of stream or current = $\frac{1}{2}$ x (u - v) miles/hr