Could be d because the rule is that the amount of empty tiles contained in the previous two columns leads to the amount in the last and on top of that every tile has two shapes in the top left corner and every row would have all 4 shapes and all shapes have all 3 colours