Two bodies of masses 10 kg and 20 kg respectively