Answer: There are 8 soccer cards and 11 baseball cards.
Explanation:
Since we have given that
Number of soccer cards = 16
Number of baseball = 22
We need to greatest number of cards she can put in each group.
So, H.C.F. of 16 and 22 = 2
Hence, there are 2 cards she can put in each group.
Number of groups of soccer cards is given by

Number of groups of baseball cards is given by

Hence, there are 8 soccer cards and 11 baseball cards.