You are dealt $5$ cards from a standard deck of 52 cards. A standard deck of 52 cards has 13 ranks in each of four suits.) How many ways can you be dealt the $5$ cards so that they contain two cards of one rank, two cards of another rank, and a fifth card of a third rank? We say that such a hand has two pairs. For example, the hand QQ225 has two pairs. (Assume that the order of the cards does not matter.)
I'm not sure how to start.. Seems like permutations, but I'm not sure. Any help would be appreciated, and thank you in advance.