Respuesta :

mj3mar

Answer:

20 sweatshirts and 5 hats

Step-by-step explanation:

So, let's assign our variables.

x = sweatshirts

y = hats

Now, we can set up our system of equations.

x + y = 25

8x + 2.5y = 172.5

In this instance, you can use a variety of methods. I will use substitution.

x + y = 25

x = 25 - y

8(25 - y) + 2.5y = 172.5

200 - 8y + 2.5y = 172.5

200 - 5.5y = 172.5

-5.5y = -27.5

y = 5.5

Now, we can plug in y to solve for x.

8x + 2.5(5.5) = 172.5

8x + 13.75 = 172.5

8x = 158.75

x = 19.84

Now, this was very sloppy work, and now we must make sense of these answers as pertaining to the context of the equation. First, let's try 20 and 5.

20 + 5 = 25

8(20) + 2.5(5) = 172.5 It works!