224k views
1 vote
A grocery store has small bags of apples for 5$ and large bags of apples for 8$. If you buy 6 bags of apples and spend 45$, how many of each bags did you buy?

User Joberror
by
6.1k points

1 Answer

2 votes

Answer:

He bought 1 small bag and 6 large bags.

Explanation:

We can set up 2 equations with the given information.

5x+8y=45

x+y=6

We can rearrange the second equation to solve for x.

x=6-y

Now we substitute x for 6-y in the first equation

5(6-y)+8y=45

30-5y+8y=45

30+3y=45

y+10=15

y=5

x=1

He bought 1 small bag and 6 large bags.

User Khanmizan
by
5.9k points