Algerbra
posted by Kim on .
One day a store sold 35 sweatshirts. White ones cost $9.95 and yellow cost $12.50. In all, $389.05 worth of sweatshirts were sold. How many of each color were sold?
How many white sweatshirt were sold?
How many yellow sweatshirt were sold?
I can not figure out how to do this problem.

Write equations for the total number sold and the total sales dollars. This will let you solve for the two unknown amounts sold, W and Y.
W + Y = 35
9.95 W + 12.50 Y = 389.05
Substitute 35Y for W in the second equation and solve for Y.
9.95 (35  Y) + 12.50 Y = 389.05
2.55 Y = 389.05  348.25 = 40.80
Y = ?