As far as the cash is concerned, we know everything else that will be in the SOFP and so cash is just the missing figure so as to make the SOFP balance.
For the retained earnings, they were 2.6 in the 2015 SOFP and so we add the profits for 2016 of 2.4 and get a total of 5.0.