For this case, the first thing we are going to do is define variables.
We have then:
x: number of birthday party goozy bags
y: total weight
We then have the following equation:
y = 150x + 200
For y = 6200 we have:
6200 = 150x + 200
Clearing x:
x = (6200-200) / (150)
x = 40
Answer:
there are 40 goody bags inside the box