I'm just gonna recheck my answers, can anyone answer for me plz:)

Step-by-step explanation:
In this question maybe we have to make equation or formulas so
A to find yellow jelly beans = 2g
B to find red jelly beans = g - 5
C to find black jelly beans = g + 4