Answer is D.
D.
It's a mulimulti layered paternpattern comprised of two rules. The top left box always has two shapes in it. The second rule being that the third box from left to right has the sum of first and seconds' blank boxes. Turning the blank squares clockwize is not a part of the patern as the middle box of all rows breaks such supposed pattern and leaves you with an answer breaking the more consistant pattern of two shapes in all the top left boxes.:
1. The top left box always has two shapes in it.
2. The third box from left to right has the sum of first and seconds' blank boxes.
Turning the blank squares clockwise is not a part of the pattern as the middle box of all rows breaks such supposed pattern and leaves you with an answer breaking the more consistent pattern of two shapes in all the top left boxes.