Answer:
The answer ix below
Step-by-step explanation:
There are 12 apple pies left.
Given that:
n = number of apple pies left = 12
x = number of food banks = 6
1) For the 12 apple pies to be distributed among 6 food banks. The number of ways in which this can be done is:
C(n + x - 1, x - 1) = C(12 + 6 -1, 6 - 1) = C(17, 5) =

12 apple pies can be distributed among 6 food banks in 6188 ways
2) For the 12 apple pies to be distributed among 6 food banks if each food bank must receive one pie, 6 pies would be remaining. The number of ways in which this can be done is:
C((n - x) + x - 1, n - x) = C(12 - 6 + 6 - 1, 12 - 6) = C(11, 6) =

12 apple pies can be distributed among 6 food banks if each food bank must receive one pie in 462 ways