A man of mass 60kg stands at one end of a boat of mass 40kg and length 5m, floating at rest on still water, as shown in the figure. He walks to the other end of the boat. Ignoring the resistance of the water, how far does the boat move, and how far does the man move, measured from the shore?