Retained Earnings Calculation Formula