Tesco interview question

Maths test