Concept:Cost of goods sold is calculated by adding opening stock to purchases and then subtracting closing stock.Explanation:The formula is:Cost of Goods Sold=Opening Stock+Purchases−Closing StockSubstitute the given values:Cost of Goods Sold=$2,000+$28,000−$3,000Add the opening stock and purchases:$2,000+$28,000=$30,000Subtract the closing stock:$30,000−$3,000=$27,000Thus, the cost of goods sold is D27,000.Answer:B. D27,000