Answer:
17 regular popcorn bags and 23 super size bags.
Explanation:
A group of 40 people went to the theme park. While there, each person bought popcorn.
Let the regular popcorn bags be = x
Let the super size bags be = y
................(1)
Next equation becomes:
...............(2)
Multiplying (1) by 6 :

Now subtracting this from (2) we get,

=> y = 23
And x =

=> x = 17
So, there were 17 regular popcorn bags and 23 super size bags that the group bought.