We have to derive the underlying structure of the problem, forgetting about the artistic paraphernalia. We have three lines of $a$,$b$, $c$ and should select one element from each numbered line and one element from each letterized column:
$$\left[\matrix{a_1&b_1&c_1\cr a_2&b_2&c_2\cr a_3&b_3&c_3\cr}\right]\ .$$
As in a $3\times3$-determinant there are $6$ ways to do this: Select one object from the first line ($3$ ways), then one allowed element from the second line ($2$ ways) and then the only remaining element from the third line.
You can arrange the admissible selection lexicographically as follows:
$$a_1b_2c_3,\ a_1b_3c_2, \ b_1a_2c_3, \ b_1c_2a_3, \ c_1a_2b_3, \ c_1b_3a_2\ .$$
acoins, one of the threebcoins, and one of the threeccoins with no further restrictions... simply list the numbers $000_3$ to $222_3$ in base $3$ and interpret the number as such a selection... the first digit corresponding to if you took the top copy (0), the bottom left copy (1), or the bottom right copy (2) ofarespectively, and similarly so for the second digit and third digit... – JMoravitz Mar 27 '20 at 12:04