Answer:
The speed of the boat is 9 miles/hour and the speed of the current is 3 miles/hour
Step-by-step explanation:
Let's call x the speed of the boat and y the speed of the current.
The distance traveled is equal to the speed times the time, so the boat traveled 36 miles in three hours and we can write the following equation
(x + y)3 = 36
3(x + y) = 36
because when the boat traveled downstream, the total speed is the sum of x and y.
On the other hand, the boat traveled 30 miles upstream in 5 hours, so
(x - y)5 = 30
5(x - y) = 30
Therefore, the system of equations is
3(x + y) = 36
5(x - y) = 30
Solving the first equation for x, we get
Now, we can replace this expression on the second equation as follows
Then, the value of x is
x = 12 - y
x = 12 - 3
x = 9
So, the speed of the boat is 9 miles/hour and the speed of the current is 3 miles/hour