document.write( "Question 783791: Hats cost 15 dollars each, and ties cost 20 dollars each. John spent 250 dollars buying hats and ties. He bought a total of 15 items. How many hats and how many ties did he buy? \n" ); document.write( "
Algebra.Com's Answer #476912 by josgarithmetic(39628)\"\" \"About 
You can put this solution on YOUR website!
Most important goal is form two simultaneous equations in two variables.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = count of hats
\n" ); document.write( "y = count of ties\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Account for the cost: \"15x%2B20y=250\"
\n" ); document.write( "This should immediately be simplified so it is easier to use in solving the system. Divide left and right by 5>....
\n" ); document.write( "\"3x%2B4y=50\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Account for total quantity of items bought: \"x%2By=15\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solve this system in any way you want:
\n" ); document.write( "\"highlight%283x%2B4y=50%29\"
\n" ); document.write( "\"highlight%28x%2By=15%29\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------
\n" ); document.write( "recommendation: multiply the \"15\" equation by 3, and then subtract from the \"50\" equation; and immediately find value for y....
\n" ); document.write( "
\n" );