Agility Robotics interview question

I was sent a coding excerise which they called a problem statement.