Problem:
Some unit squares in an infinite sheet of squared paper are colored red so that every and rectangle contains exactly two red squares. How many red squares are there in a rectangle?
Problem:
Some unit squares in an infinite sheet of squared paper are colored red so that every and rectangle contains exactly two red squares. How many red squares are there in a rectangle?
Solution:

There cannot be two red squares with a common side. For consider as the diagram shows we can immediately conclude that the squares with a are not red, but now the bold rectangle has at most 1 red square. Contradiction.

Consider a red square. One of the two diagonally adjacent squares marked must be red. But it is now easy to show that all red squares on that diagonal are red and that the other red squares are those on every third parallel diagonal line. Any rectangle must have just three such diagonals on a 9 cell border row, and hence just 3 red cells in that border row. But the remaining rectangle can easily be partitioned into fifteen rectangles, each with 2 red squares.