To be clear I have indeed reviewed the question asked by helios321 (Classic man on boat problem). But i have something else to ask related to man on a boat problem.
The man on a boat problem goes like this: A man is standing on one side of a boat and the boat is stationary. We ignore friction between water and boat (and air friction). Thus there are no external forces on the man+boat system. So momentum is conserved, and centre of mass does not move. (Copied from helios321's post)
I know that if the man moves to the other side of the boat the boat moves in the opposite direction.
But what i don't understand is :
Let the boat move $x$ m to left and the man $(L-x)$m to right.[L is the length of the boat]
then how can we say that
$M_{man}(L-x) = M_{boat}(x)$