Total Product Costs Formula