How to arrange four sided geometric shapes with different lengths and breadth without leaving blank spaces in between. Trying to write a logic for it under certain assumptions.