Let's use the following variables:
- d = number of drinks bought
- p = number of popcorn bags bought
We know the following information:
- Each drink costs $4 and each popcorn bag costs $6
- The total cost was $180
- The total number of items bought was 22
Using this information, we can set up a system of two equations:
- 4d + 6p = 180 (total cost equation)
- d + p = 22 (total number of items equation)
This system of equations can be used to determine the number of drinks and popcorn bags that Jackie bought at the movie theatre.