Notice that this is an extended version of the cube $\mathbf2\times\mathbf2\times\mathbf2$ which you can find right at the beginning the following wikipedia page: Power set.
In your case, the product is $\mathbf2\times\mathbf2\times\mathbf3$, so you have to extend one dimension by one unit, like so:
Notice that this is an extended version of the cube $\mathbf2\times\mathbf2\times\mathbf2$ which you can find right at the beginning the following wikipedia page: Power set.
In your case, the product is $\mathbf2\times\mathbf2\times\mathbf3$, so you have to extend one dimension by one unit, like so: