Note that your answer is exactly twice the correct answer. This is because you consider the remaining pair to be ordered. E.g., you first select a three of hearts and then a three of diamonds; but you could select them in the opposite order. These selections are counted separately in your approach.
Another way is first to select the rank (3 - 10, J, Q, K, A) and then select an unordered pair.