Answer :
1) calculate percentage of yellow jelly beans from original capture
20 / (15+20+12+8) = 4/11 or 36.364%
2) apply percentage to new amount
4/11 *22 = 8 beans
20 / (15+20+12+8) = 4/11 or 36.364%
2) apply percentage to new amount
4/11 *22 = 8 beans