Count the number of squares in the given figure.
8
20
15
18
12
The simplest squares are QUYX, URVY, YVSW and XYWT i.e. 4 in number.
The square composed of two components each are IMYP, MJNY, YNKO, PYOL i.e. 4 in number.
The square composed of three components each are AEYH, EBFY, YFCG, HYGD i.e. 4 in number.
There is only one square i.e. QRST composed of four components.
There is only one square i.e. IJKL composed of eight components.
There is only one square i.e. ABCD composed of twelve components.
Total number of squares = 4 + 4 + 4 + 1 + 1 + 1 = 15