Answer: Here we are looking for the least common multiple (LCM) between 9 and 25, this is the first number which the sets {9, 18 ,27...} and {25, 50, 75...} have in common, where the first set is the set of the packages with a baseball card, and the second is the one with the football card.
the LCM between two numbers is
LCM(9,25) = 9*25/(gcd(9,25))
where gcd is the greatest common divisor between 9 and 25, in this case is 1, because 9 is only divided by 3, and 25 is only divided by 5.
then LCM (9,25) = 9*25 = 225.
then in the 225 package, you will have a football card, and a baseball card.