Average total cost and marginal cost