Part 1: The speed of the boat traveling downstream is
miles per hr.
The speed of the boat traveling upstream is
miles per hr.
Part 2: The speed of the current is 4 miles per hour.
Explanation:
Part (1): The motorboat travels 18 miles per hour in still.
Let w represents the speed of the current.
When the boat travels downstream, the speed of the current will get added to the speed of the boat.
Thus, the expression can be written as
miles per hr
Hence, the speed of the boat traveling downstream is
miles per hr.
When the boat travels upstream, the speed of the current will get subtracted to the speed of the boat.
Thus, the expression can be written as
miles per hr.
Hence, the speed of the boat traveling upstream is
miles per hr.
Part (2): The boat travels 49 miles upstream in the same time it takes to travel 77 miles downstream.
The distance formula is given by 
Substituting, we have,
---------------(1)
---------------(2)
Solving using elimination method,

Dividing both sides by 36, we have,

Substituting
in
, we get,




Thus, the speed of the current is
miles per hour.