I will write $E(a,b,c)$ to be the expected number of draws to get $a$ of one card, $b$ of another, and $c$ of a third, so that the problem calls for computing $E(1,2,2)$.
We have $$E(1,2,2)= 1 + \frac13E(2,2,0) +\frac23E(1,1,2)\tag{1}$$
because we have to draw a card, and with probability $\frac13$ it is an A so we need $2$ of each of $2$ different cards, and with probability $\frac23$ we draw and S or a T and then we need $1$ of each of $2$ cards and $2$ of another.
Now we continue, expanding the terms on the right-hand side of $(1).$ We have $$E(2,2,0) = 1+\frac13E(2,2,0)+\frac23E(1,2,0)\tag{2}$$ Again, we must draw a card, and with probability $\frac23$ it's one of the cards we need, but with probability $\frac13$ it's the card we don't want and we still need $2$ of each of $2$ cards. So we can rewrite $(2)$ as $$
\frac23E(2,2,0) = 1+\frac23E(1,2,0)\tag{2'}$$
In the same way, we expand the other term on the right-hand side of $(1)$ to get $$
E(1,1,2)=1+\frac23E(1,2,0)+\frac13E(1,1,1)\tag{3}$$
You just have to keep doing this until you get down to terms with known values. It is well-known that the expected number of trials to get a success in repeated Bernoulli trials with probability of success $p$ is ${1\over p},$ so that $E(1,0,0)=3.$ Also, $E(2,0,0)=6,$ because on average we have to draw $3$ card to get the first S, say, and then another $3$ cards to get the second S.
I'm sure you will be able to finish the problem now.