# One day a store sells 30 sweatshirts. white ones cost $9.95 and yellow ones cost $10.50. in all, $310.60 worth of sweatshirts were sold. How many of each color were sold?

##### 2 Answers

By setting up two equations, you are able to find out that the shop sold 8 white shirts and 22 yellow shirts.

#### Explanation:

From the description, you can make two equations with two unknown variables, which is just fun to solve!

Let's name the amount of white shirts sold for

Since the store sold 30 shirts, that means

You also know how much the different shirts cost, and how much the shop earned that day.

So now, we have two different equations;

Rewrite equation 1 to:

Put this x-value in the second equation:

Divide both equations by 0.55

And since the shop sold a total of 30 shirts, you know that white shirts sold,

Summary:

- Set up two equations

- Rewrite an equation so it only has one variable in it
- Insert that equation into the other one
- Solve it like an ordinary equation

white shirts = 8 and yellow shirts = 22

#### Explanation:

Let white sweat shirts be w

Let yellow sweat shirts be y

Condition 1:

Condition 2:

Method:

Use equation 1 to be the source of expressing one variable in terms of the other. Substitute into equation (2) so that it has only one variable then solve for that variable. Once found it can then be substituted back into (1) to solve for the other one.

From equation (1)

Substitute (3) into (2) giving

Substitute in (1) using (4)

Check using (2)

So white shirts = 8 and yellow shirts = 22