Adding the two equations we get 2b = d + u. ⇒ b = (d+u) / 2 which gives the speed of the boat in terms of downstream and upstream speed. Subtracting the equation and we get d – u = 2w ⇒ w = (d-u) / 2 which gives the current speed in terms of downstream and upstream speed.