JYSK interview question

Math and concept and logic