Barclays interview question

Pattern recognition, deduction, nothing too bad