derive short run supply function of a perfectly competitive firm from cubic total cost function