Retained Earnings: Definition, Formula & Example