TeX source:
\text{Costs of goods available for sale - Ending inventory} = \text{Cost of goods sold}