document.write( "Question 258471: Keiko spent $54 on CDs and Books. The books cost $2 less than the CDs. What is the cost of each book and CD? \n" ); document.write( "
Algebra.Com's Answer #190290 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
ASSUMING THERE ARE ONE OF EACH:
\n" ); document.write( "B=CD-2
\n" ); document.write( "B+CD=54
\n" ); document.write( "(CD-2)+CD=54
\n" ); document.write( "CD+CD=54-2
\n" ); document.write( "2CD=52
\n" ); document.write( "CD=52/2
\n" ); document.write( "CD=26 COST OF CD.
\n" ); document.write( "B=26-2=24 COST OF BOOK.
\n" ); document.write( "IF THERE ARE MULTIPLY CDS & BOOKS YOU NEED TO TELL HOW MANY OF EACH OF THE TOTAL NUMBER.
\n" ); document.write( "
\n" );