document.write( "Question 705665: A student paid $ 5.40 for 30 pencils. Some cost 10 cents each and others cost 20 cents.each. How many pencils of the 10 cents type did he buy? \n" ); document.write( "
Algebra.Com's Answer #434682 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
A student paid $ 5.40 for 30 pencils. Some cost 10 cents each and others cost 20 cents.each. How many pencils of the 10 cents type did he buy?
\n" ); document.write( "**
\n" ); document.write( "let x=number of 10-cent pencils bought
\n" ); document.write( "30-x=number of 20-cent pencils bought
\n" ); document.write( "..
\n" ); document.write( ".10x+.20(30-x)=5.40
\n" ); document.write( ".10x+6-.20x=5.40
\n" ); document.write( ".10x=.60
\n" ); document.write( "x=6
\n" ); document.write( "30-x=24
\n" ); document.write( "number of 10-cent pencils bought=6
\n" ); document.write( "number of 20-cent pencils bought=24
\n" ); document.write( "
\n" );