You take the nth toot where n is the number of years between the earliest and latest dividend.
I do suggest you watch my free lectures because I do explain this in detail. The lectures are a complete free course for Paper F9 and cover everything needed to be able to pass the exam well.