Marginal cost and average total cost curves