opening stock = 4200 closing stock = 3900 cost of goods sold = 6000
purchase = opening stock - closing stock - cost of goods sold
4200 - 3900 = 300 6000 - 300 = 5700