You have to find the GCF or the Greatest Common Factor which is 8
So you will have 4 piles of baseball cards, 8 piles of football cards, and 3 piles of baseball cards again
(I think you meant basketball cards and if not add 3+4=7 so you get 7 baseball cards if it wasn’t a typo)
Hope this helps :)