How to handle multiple boxes

how to handle multiple boxes