You are dealt 5 cards from a standard deck of 52 cards. 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 WW228 has two pairs. (Assume that the order of the cards does not matter.)