The ratio of gummy bears to gummy worms is 5:4. This means that for every 5 gummy bears, there are 4 gummy worms.
Given that there are 160 gummy worms, we can set up a proportion to find the number of gummy bears:
-
Since the ratio is 5:4, we can express this relationship as: \[ \frac{\text{gummy bears}}{\text{gummy worms}} = \frac{5}{4} \]
-
Let the number of gummy bears be \( x \). We then have: \[ \frac{x}{160} = \frac{5}{4} \]
-
Cross-multiply to solve for \( x \): \[ 4x = 5 \times 160 \] \[ 4x = 800 \]
-
Now, divide by 4: \[ x = \frac{800}{4} = 200 \]
Thus, there are 200 gummy bears in the bag of candy.