Question 1136068
n jelly beans
9-n cola bottles
probability first is a jelly bean is (n/9)
probability second is also a jelly bean is now (n-1)/8 since there is one less sweet total and one less jelly bean
The product is n(n-1)/72 and that is the probability.

suppose there are 3 jelly beans and 6 cola bottles
then the probability is 3/9*2/8=1/12

n*(n-1)/72=6/72=1/12