Let the speed of the current of the river be = x
And, the speed of the boat in still water = 9 mph
Then, the speed of boat along the river current will be= 9+x mph
And, speed of boat against the river current will be = 9-x mph
Now as given, total distance along river current and total distance against river current is same = 16 miles.
As we know, time=distance/speed
Time taken by boat along the river current =
![(16)/(9+x)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7a57rrnwopqzcmhacvinry23y9fnnjh4m5.png)
And time taken by boat against the river current =
![(16)/(9-x)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/lrolptntyye0si4vw0jn075dqlgg1v4hmp.png)
Also given is , the overall the journey takes 4 hours; so equation becomes
![(16)/(9+x)+(16)/(9-x)=4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/x5aytlwdkj9bz9n0ufht40fb83bopupq2u.png)
![4((1)/(9+x)+(1)/(9-x))=1](https://img.qammunity.org/2020/formulas/mathematics/middle-school/w3tt8g473iosse5z6n1ofvz1ewbv13y8h6.png)
Solving this we get;
or x=3
Therefore, the speed of the current of the river is 3 mph.