Domanda di colloquio di Roofstock

How would you structure your code for this layout?