Answer:
Both
Explanation:
On the side and top of diagram A, you can see there are 4 options for the types of clothing and 3 options for the color, and the diagram shows all the possible combinations for that. This means option A is right.
On the side and top of diagram B, you are given 4 different options for clothing and 3 for the color. This chart shows all the possible combinations as well, meaning that option B is right too.
On top of this, you can also notice that both diagrams A and B have the same labels, just moved around.