Given,
The total distance travelled is 476 miles.
The time taken by the boat for upstream is 14 hours.
The time taken by the boat for downstream is 34 hours.
Consider, The speed of the boat is B miles/hour.
The speed of the current is C miles/hour.
The speed at downstream is B+C miles/hour.
The speed at upstream is B-C miles/hour.
The formula of speed is,
For downstream,
For upstream,
Adding equation (1) and equation (2) then,
Substituting the value of B in equation (2),
Hence, the speed of current is 10 miles/hour and speed of boat is 24 miles/hour.