> You want to make seven types of pies. A,B,C etc.
Why do you say 8 pies later?
> But you can only pick 5 of the baskets to take home, or less.
Do you mean "pick FROM 5 of the baskets"?
> You're only allowed to take two ingredients (e.g., A1, B2, or A)
> from any one basket for a pie.
Clarify that: is A alone because it represents 2 ingredients?
> 1 - A2, B2
> 3 - A2, B2
Why the duplicate baskets? Why not have 7 baskets (remove one of those)?
> Assuming I'm some kind of efficiency nut

, how do I figure out
> which five baskets to take home, to make *all eight pies*.
You said 7 pies earlier! You can't take a basket home, right?
Do you mean "which 5 baskets to pick from"?