A dog weighting 5 kg is standing on a flat boat so that it is 10 m from the shore. The walks on the boat towards the shore and then halts. The boat weights 20 kg and one can assume that then no friction between it and the water. How far is the dog from the shore at the end of this time ?