document.write( "Question 50258: The school book store sold 8 more pencils than pens one day. The cost of a pencil is $.05, and the cost of a pen is $.20. If the day's sales of pens and pencils totaled $8.90, how many pencils were sold? \n" ); document.write( "
Algebra.Com's Answer #33392 by Nate(3500)\"\" \"About 
You can put this solution on YOUR website!
amount of pens sold = p
\n" ); document.write( "amount of pencils sold = p + 8
\n" ); document.write( "0.05(p + 8) + 0.20(p) = 8.90 each pen is $0.20 while each pencil is $0.05
\n" ); document.write( "0.05p + 0.4 + 0.20p = 8.90
\n" ); document.write( "0.25p = 8.50
\n" ); document.write( "amount of pens: 34
\n" ); document.write( "amount of pencils: 34 + 8 = 42
\n" ); document.write( "
\n" );