The document outlines the calculation of cost of goods sold (COGS) by detailing opening and closing inventory amounts for materials and finished goods, purchases and returns, direct materials consumed, cost of goods manufactured, prime costs including direct materials and labor, conversion costs including labor and factory overhead, total manufacturing costs, and the final calculation of COGS by adding opening finished goods inventory and subtracting closing finished goods inventory from the cost of goods manufactured.