How many squares have four of these dots as vertices?

Solution
There are ten squares: six are 1 1, two are 2 2, and two more use diagonals.

How many squares have four of these dots as vertices?
There are ten squares: six are 1 1, two are 2 2, and two more use diagonals.