document.write( "Question 1123804: At the festival, you are selling hats and T-shirts. In total you sell 140 hats and t-shirts combined. Each hat costs $10 and each shirt costs $15. Your profit from selling the shirts is $1800 dollars. How many hats did you sell? How many t-shirts?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #740210 by MathTherapy(10549)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "At the festival, you are selling hats and T-shirts. In total you sell 140 hats and t-shirts combined. Each hat costs $10 and each shirt costs $15. Your profit from selling the shirts is $1800 dollars. How many hats did you sell? How many t-shirts?
\n" ); document.write( "
NOT profit, but REVENUE from sales = $1,800
\n" ); document.write( "Let number of t-shirts be T
\n" ); document.write( "Then number of hats = 140 - T
\n" ); document.write( "We then get: 15T + 10(140 - T) = 1,800
\n" ); document.write( "15T + 1,400 - 10T = 1,800
\n" ); document.write( "15T - 10T = 1,800 - 1,400
\n" ); document.write( "5T = 400
\n" ); document.write( "T, or number of t-shirts = \"highlight_green%28matrix%281%2C3%2C+400%2F5%2C+%22=%22%2C+80%29%29\"
\n" ); document.write( "Number of hats: \"highlight_green%28matrix%281%2C3%2C+140+-+80%2C+%22=%22%2C+60%29%29\" \n" ); document.write( "
\n" );