Can you count number of squares in a figure below ?
30 squares.
Assuming smallest square side is 1 cm, then
Total number of squares with side 1 cm: 16
Total number of squares with side 2 cm: 9
Total number of squares with side 3 cm: 4
Total number of squares with side 4 cm: 1
Adding 16+9+4+1 = 30