The number of dots in the bottom row is equal to the number of dots missing in the top row. The figure in the place with the question mark must contain 7 dots, the answer is D.