Answer:
13
Step-by-step explanation:
There are (4 choose 2) = 6 ways to choose two points P and Q from the set of four points {A, B, C, D}. Two squares can be formed with P and Q as adjacent vertices (one on each side of PQ), and one square can be formed with P and Q as opposite vertices. This gives us 6 x 3 = 18 squares total.
However, we must subtract repeats. We see that the original square ABCD is counted 6 times, so the number of actual squares is 18 - 5 = 13.