Compute cost of goods sold in x2: