Derivation of average cost and marginal cost from total cost curve | cost of production| #hs