The number of bags of candy and cookies sold by the drama club is 4 and 10 respectively
let
The equation:
8.50x + 4.50y = 79
y = x + 6
Substitute x = y + x into
8.50x + 4.50y = 79
8.50x + 4.50(x + 6) = 79
8.50x + 4.50x + 27 = 79
8.50x + 4.50x = 79 - 27
13x = 52
x = 52/13
x = 4
Recall,
y = x + 6
y = 4 + 6
y = 10
Therefore, the number of bags of candy and cookies sold by the drama club is 4 and 10 respectively.
Learn more about simultaneous equation:
https://brainly.com/question/16863577
#SPJ1