In poker, a pair is formed from two cards of the same rank. A hand with 5 cards is called two pairs if it has two pairs of cards of different ranks, and a fifth card that does not match either pair. (For example, the hand KK338 has two pairs.) How many ways can you be dealt 5 cards and get two pairs? (Assume that we are using a standard deck of 52 cards, and that the order of the cards does not matter.)