We know the area of a small square is 24 in².
Assuming the small rectangles are all equal in area, the total area of the window is equal to 6 x 24 = 144 in².
Now looking at the big window, the total area = width x length so:
144 = 18 x width
width = 144 ÷ 18 = 8 in