Suppose Jacky gets 0 apples.
Then we have 3 apples to distribute among 3 friends, and 3 oranges to distribute among 3 friends.
These are independently distributed so the total number of distributions will be the product of the
numbers of distributions of apples and oranges.
3 apples distributed among 3 friends can be done \(\dbinom{3+3-1}{3-1}=\dbinom{5}{2} = 10\) ways
3 oranges is the same so the total number of valid distributions when Jacky gets 0 apples is \(10\cdot 10 = 100\)
Now suppose Jacky gets 1 apple. We have 2 apples to distribute among 3 friends, and 3 oranges. This is
\(\dbinom{2+3-1}{3-1}\dbinom{5}{2} = \dbinom{4}{2}\dbinom{5}{2} = 6\cdot 10=60\)
Continuing in the same way there are \(\dbinom{3}{2}\dbinom{5}{2}=30\) ways to distribute the fruit if Jacky gets 2 apples, and
\(\dbinom{2}{2}\dbinom{5}{2}=10\) ways to distribute the fruit if Jacky gets 3 apples
Summing all these up we get \(100+60+30+10=200 \) different ways to distribute the fruit with Jacky getting no oranges