Answer: Take your pick, Emily.
Explanation:
1) Assuming Emily wants both Chocolate Chip(CC) and Sugar Cookies(SC) in each basket, she could make 20 baskets having 1 CC and 2 SC in each basket. That would leave 8 SC (48-40) without any matching CC.
2) If Emily doesn't care about the makeup of each basket (e.g., some baskets may have any combination of cookies), she has a total of (20 + 48) or 68 cookies. She has the following choices:
1 cookie each: 68 baskets
2 cookies each: 34 baskets
3 cookies each: 22 baskets with 2 cookies left over
And so forth.
Unless Emily was given some other condition (e.g., a minimum of 5 cookies/basket), there are many possible answers.