You are dealt 5 cards. you have 2 pairs (not including face cards) and a face card. How many different ways can this be done?

the answer is 2(x-3)(x-5)

Remember to factor it!