Amazon Flex interview question

How to separate different boxes