There are 2 boat speeds: one going downstream, and the other going upstream.
Let the speed of the current be C
Then we get the following TIME equation:
Solve the above for C, the current.
ADD the value of C to 16 to get the downstream speed and SUBTRACT the value of C from 16 to get the upstream speed.