Nestlé interview question

logical reasoning