Briefly

Counting squares

Counting squares

How many squares that have the vertices in the centers of the points marked in the figure next to these lines can be drawn?

Solution

The following image illustrates all possible cases, in total, 9 + 4 + 2 + 4 + 2 = 21 different squares: