Marginal Average Cost Formula