Ahmed is taking orders for lunch. A slice of pizza cost $2 and a chicken sandwich costs $3. He collects $24 for the group of 10 people.How many people ordered a chicken sandwich?

Respuesta :

2p+3c=24
p+c=10

solve for p: p= 10-c
Substitute for p: 20-2c+3c=24
add the Cs: 20+c=24
Subtract: c=4
So four people ordered a chicken sandwich.

1.5x+2.5y=21.50

x+y=9

8 people ordered chicken sandwich