When calculating the gross redemption yield (the return to investors) then we need to calculate the IRR as normal (this is nothing directly to do with the duration, even though we need to know the GRY).
As always when calculating the IRR, we need to make two guesses and approximate, and any two ‘guesses’ are OK – the examiner chose 5% and 4% as his ‘guesses’.