96.6k views
2 votes
Keisha bought cups of coffee and bagels for the people in her office. Each bagel cost $2 and each cup of coffee cost $1.50. Keisha spent a total of $40 to buy 23 items. Let x represent the number of bagels and y represent the number of cups of coffee.

1 Answer

5 votes

Answer:

The number of bagels is 11 and the cups of coffee is 12.

Explanation:

Given:

Keisha bought cups of coffee and bagels for the people in her office. Each bagel cost $2 and each cup of coffee cost $1.50.

Keisha spent a total of $40 to buy 23 items.

Now, to find the number of cups of bagels and coffee.

As given in question:

Let
x represent the number of bagels.

And
y represent the number of cups of coffee.

So, the total number of items:


x+y=23


x=23-y ......(1)

Now, the total money spent on items:


2x+1.50y=40

Substituting the value of
x from equation (1):


2(23-y)+1.50y=40


46-2y+1.50y=40


46-0.50y=40

Subtracting both sides by 46 we get:


-0.50y=-6

Dividing both sides by -0.50 we get:


y=12.

The number of cups of coffee = 12.

Now, to get the number of bagel we substitute the value of
y in equation (1):


x=23-y


x=23-12


x=11.

The number of bagels = 11.

Therefore, the number of bagels is 11 and the cups of coffee is 12.

User Fhevol
by
5.4k points