draw a table like this on question 7
https://3cb8366df74746bcd8eec8f4a7035f5f8ad90c26.googledrive.com/host/0B1ZiqBksUHNYRDVfakk5MURORVE/June%202014%20AB%20-%20D2%20Edexcel.pdfput stage as jam, as you are working backwards, your state (how many fruits you can allocate should be 1,2,3,4,5. then at the end of this final stage, you have to allocate all your fruits so the actions should be equal the the states in this stage. then your destination should all be 0. work out how much money you get for allocating that much fruit in each row for jam
next stage is pie filling, for your state (how many fruits you have available to allocate) you put the first state as 5, and for the action of this you can put 5,4,3,2,1,0. do the same for all states 1-5. for each row work out how much money that gets you added on to the maximum from the last stage, then mark the maximum row for each state.
for the final stage of dried fruit, you only start with 5 units of fruit to allocate so that is your only fruit, so you can allocate 5,4,5,3,2,1,0 for your actions, find the maximum and then you can work out your answer
its kinda complex to explain through text so if you want i could explain it on skype