document.write( "Question 1019346: For my homework assignment, I had to do this problem:
\n" ); document.write( "You sold hats and t-shirts at a recent ball game. Hats sold for $10.50 each and t-shirts sold for $16.75 each. You sold a total of 35 items and earned $492.50. How many hats and how many t-shirts did you sell?\r
\n" ); document.write( "\n" ); document.write( "I tried to do this equation:
\n" ); document.write( "10.50x+16.75y=35
\n" ); document.write( "x + y= 492.50
\n" ); document.write( "I tried to solve the equation but when I canceled out the variable I subtract the 35 and 492.50 I couldn't solve the problem. I really have no clue how to solve this.
\n" ); document.write( "

Algebra.Com's Answer #635315 by josgarithmetic(39618)\"\" \"About 
You can put this solution on YOUR website!
You mixed-up the equations' members.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x is how many hats, and y is how many t-shirts.
\n" ); document.write( "The system is THIS way:
\n" ); document.write( "\"system%2810.5x%2B16.75y=492.50%2Cx%2By=35%29\"
\n" ); document.write( "
\n" );