You're answer would be: They each get 1 container each!
What we know:
1) They both have 7$ each.
Step-by-step explanation:
First, we need to multiply 7$ by 2 because, they both have 7$.
Once you've multiplied 7x2 you'll get 14.
14 is the amount of money they have combined.
Now you subtract 12 from 14, which gives you 2.
Which means 2 containers where bought.
Since there are 2 containers, and 2 people. That means they both get 1 container each!