Eurex interview question

Logic questions from High School