Use factorials to solve this question.
When you are choosing multiple items out of a set, the permutation formula will be represented by the following:

n represents the total amount of items, and r represents the number of items you're choosing from the set.
The stack has 7 items, and you are choosing sets of 2 items from the stack. Plug the values into the formula:

There will be 42 different combinations to choose from.