A STORE SOLD 18 SWEATSHIRTS. WHITE ONES COST $9.95 AND YELLOW ONES COST $11.50. IF $202.35 WORTH OF SWEATSHIRTS WERE SOLD, HOW MANY OF EACH WERE SOLD?

First, please do not use all capitals. Online it is like SHOUTING. Not only is it rude, but it is harder to understand. Thank you.

Let x = # of white and y = # of yellow.

x = 18 -y

9.95x + 11.5y = 202.35

Substitute 18-y for x in second equation and solve for y. Insert that value into the first equation and solve for x. Check by inserting both values into the second equation.

To solve this problem, we need to set up a system of equations.

Let's assume that x represents the number of white sweatshirts sold, and y represents the number of yellow sweatshirts sold.

From the problem, we know two pieces of information:

1. The total number of sweatshirts sold is 18. This can be written as: x + y = 18.

2. The total value of the sweatshirts sold is $202.35. This can be written as: (9.95 * x) + (11.50 * y) = 202.35.

Now, we can solve this system of equations to find the values of x and y.

One way to solve this system is by substitution. We can solve the first equation (x + y = 18) for x or y and substitute it into the second equation. Let's solve it for x:

x = 18 - y.

Now, substitute this value of x into the second equation:

(9.95 * (18 - y)) + (11.50 * y) = 202.35.

Now, simplify and solve for y:

179.10 - 9.95y + 11.50y = 202.35.

Combine like terms:

1.55y = 23.25.

Divide both sides by 1.55:

y ≈ 15.

Now, substitute this value of y back into the first equation to find x:

x = 18 - y,

x = 18 - 15,

x = 3.

Therefore, 3 white sweatshirts and 15 yellow sweatshirts were sold.