Coles Group interview question

Couldnt do the interview