Average Total Cost Equation