Abid and Onik were in partnership sharing profit in the ratio 3 : 2. Their…