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?

Respuesta :

Answer:

He bought 1 small bag and 6 large bags.

Step-by-step 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.