Answer:
18 Skittles and 7 Kit Kats
Linear system of equations in two variables
Explanation:
We a linear system of two equations which can be solved simultaneously
Total pieces of candy equation
s + k = 25 [1]
Total cost equation
0.8s + 0.9k = 20.70 [2]
Multiply [1] by 0.80
0.80s + 0.80k = 20 [3]
Subtract [3] from [2]
0.80s + 0.90k = 20.70
0.80s + 0.80k = 20
0.1k = 0.70
k = 0.70/0.10 = 7
In [1]
Answer: 18 Skittles and 7 Kit Kats