Step 1: Define variables: Let x be the number of boxes of pens and y be the number of boxes of rubber bands.
Step 2: Set up equations based on the problem:
x + y = 22
10x + 6y = 192
Step 3: Solve the first equation for y:
y = 22 - x
Step 4: Substitute y in the second equation:
10x + 6(22 - x) = 192
Step 5: Distribute the 6:
10x + 132 - 6x = 192
Step 6: Combine like terms:
4x + 132 = 192
Step 7: Isolate x:
4x = 60
x = 15
Step 8: Substitute x back into the equation for y:
y = 22 - 15
y = 7
Answer:
x = 15 \text{ and } y = 7