Answer:
Step-by-step explanation: There are are squares of 4 different dimensions: 1 × 1, 2 × 2, 3 × 3 , 4 × 4
There are 16 squares of dimension 1 × 1. There are 9 squares of dimension 2 × 2. There are 4 squares of dimension 3 × 3 and 1 square of dimension 3 × 3.
There is a total of
16+9+4+1 = 30 squares