Agrilution interview question

How do you solve a given task?