Juniper Networks Interview Question

Apple/orange and some more puzzles on splitting square