document.write( "Question 223227: I am not sure what equation to use for the following problem:\r
\n" ); document.write( "\n" ); document.write( "total spent $3000.00. total items purchased 1,000. Head lamps cost $2.50 each and Tail lamps cost $3.50. How many of each product was purchased?\r
\n" ); document.write( "\n" ); document.write( "I am trying this equation but it does not look accurate:\r
\n" ); document.write( "\n" ); document.write( "($2.50x+$3.50y)/1000 = $3000.00
\n" ); document.write( "

Algebra.Com's Answer #166974 by rfer(16322)\"\" \"About 
You can put this solution on YOUR website!
h+t=1000, h=1000-t
\n" ); document.write( "2.5h+3.5t=3000
\n" ); document.write( "2.5(1000-t)+3.5t=3000
\n" ); document.write( "2500-2.5t+3.5t=3000
\n" ); document.write( "t=500
\n" ); document.write( "h=500
\n" ); document.write( "500*2.5=$1250
\n" ); document.write( "500*3.5=$1750
\n" ); document.write( "total $3000
\n" ); document.write( "
\n" );