vbw + vwe = vbe Where the subscript bw means "boat with respect to the water. (so in this case, just add the velocities with sign (here both positive)
This works for higher dimensions, but the addition is vectorial.
Another useful relation is "with respect to" can be calculated if you know velocities from a third inertial (constant velocity) frame:
vab = vac - vbc (often c is the earth frame, but it doesn't need to be.
Please consider a tutor. Take care.