Question 1
Count the total number of rectangles (including squares) in the 3x3 grid below:
+---+---+---+
| | | |
+---+---+---+
| | | |
+---+---+---+
| | | |
+---+---+---+
Number of ways to choose 2 horizontal lines = C(4,2) = 6, Number of ways to choose 2 vertical lines = C(4,2) = 6. Total = 6 × 6 = 36