Two objects P and Q of masses 100kg and 20kg respectively are 1.2m apart on…