-
There are no horizontal forces.
-
If you move, everything else has to move.
-
So, what'll happen is that, when you move,
-
the boat will have moved from there
-
maybe somewhere over to the right like this.
-
You are certainly at the edge of the boat,
-
but the boat has moved a little extra distance δ,
-
and you have to find that δ.
-
You find it by the same trick.
-
You find the center of mass of you and the boat,
-
preferably with this as the origin.
-
You can use any origin you want for center of mass,