How Cost Structure Impacts Earnings