Moniepoint Interview Question

Rearranging 12 boxes using grid template