A can do a work in 12 days.
∴ Work done by A = 1/12
B can do a work in 16 days.
∴ Work done by A = 1/16
Ration of Work done by A : Ration of Work done by B = 1/12 : 1/16
Ration of Work done by A : Ration of Work done by B = 4 : 3
A's shares = 2100 x 4/7 = 300 x 4 = ₹ 1200
B's share = 2100 x 3/7 = 300 x 3 = ₹ 900