The drama club sold bags of candy and cookies to raise money for the spring show. Bags of candy cost $8.50, and bags of cookies cost $4.50, and sales equaled $79.00 in total. There were 6 more bags of cookies than candy sold.

Find the number of bags of candy and cookies sold by the drama club. Show your work.

Respuesta :

The number of bags of candy and cookies sold by the drama club is 4 and 10 respectively

Simultaneous equation

let

  • number of bags of candy = x
  • number of bags of cookies = y

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