To find the number of gummy bears in the bag, we can use the given ratio of gummy bears to gummy worms, which is 5:4.
Since there are 160 gummy worms, we can set up the ratio like this:
- Determine the number of units for gummy worms based on the ratio. In the ratio 5:4, the number of parts for gummy worms is 4.
- Since there are 160 gummy worms, we find the value of one unit (one part).
\[ \text{One unit} = \frac{160 \text{ gummy worms}}{4} = 40 \]
- Now, to find the number of gummy bears, we calculate the total based on the 5 parts in the ratio for gummy bears:
\[ \text{Number of gummy bears} = 5 \text{ parts} \times 40 \text{ (gummy worms per part)} = 200 \]
So, there are 200 gummy bears in the bag of candy.