Two bodies have masses in the ratio 3:1. They experience forces which impart to them…