Cost of goods sold is equal to:
a. total manufacturing costs plus beginning work in process less ending work in process.
b. cost of goods sold plus beginning work in process less ending work in process.
c. total manufacturing costs plus ending work in process less beginning work in process.
d. cost of goods manufactured plus beginning finished goods less ending finished goods.