Answer:the number of medium packs is 4
the number of large packs is 6
Explanation:
Let x represent the number of medium packs that she bought.
Let y represent the number of large packs that she bought.
Ivy has 10 packs of cup for her holiday party. This means that
x + y = 10
a pack of medium cups costs 1.80 and a pack of large cups costs 2.40 she paid a total of 21.60. This means that
1.8x + 2.4y = 21.60 - - - - - - - - 1
Substituting x = 10 - y into equation 1, it becomes
1.8(10 - y) + 2.4y = 21.60
18 - 1.8y + 2.4y = 21.6
- 1.8y + 2.4y = 21.6 - 18
0.6y = 3.6
y = 3.6/0.6 = 6
Substituting y = 0.6 into x = 10 - y, it becomes
x = 10 - 6 = 4