In the diagram, there are more squares than triangles. Therefore, we can easily eliminate B, C and D. B states that there are more triangles than squares which is incorrect. C and D state that there are equal numbers of squares and triangles. Hence, this is wrong.
Option E just counts all the squares, triangles and hexagons and then makes the ratio. This cannot be correct. This only leaves us with option A.