Let
x---------> the rate of the boat in still water in mph
y--------> the rate of the current in mph
we know that
Upstream

equation

Downstream

equation

Adds equation
and equation


Find the value of y

therefore
the answer is
the rate of the boat in still water is

the rate of the current is
