Problem with a report layout

Hi everyone,

I am confused with a report layout in NAV 2009 that I have to upgrade to NAV 2013.There are many footers and groupfooters and I tried many combinations but didn’t know how to do it.
I am joining a picture of the 2009 layout and the structure of the report.

Can anyone explain to me how to translate the 2009 layout into 2013?

Here is the structure of the dataset in 2009
dataset2009.png