Statement of retained earnings explanation, format, example, formula