document.write( "Question 1198811: Hi
\n" ); document.write( "30 books and magazines were on a shelf. Each book costs $5 while each magazine costs $3. The total cost of the books was $6 more than the magazines.
\n" ); document.write( "How many books were on the shelf. \r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #832468 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "30 books and magazines were on a shelf. Each book costs $5 while each magazine costs $3.
\n" ); document.write( "The total cost of the books was $6 more than the magazines.
\n" ); document.write( "How many books were on the shelf.
\n" ); document.write( "~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "x books, 30-x magazines.\r\n" );
document.write( "\r\n" );
document.write( "Money equation is\r\n" );
document.write( "\r\n" );
document.write( "    5x -3*(30-x) = 6  dollars.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify and find x\r\n" );
document.write( "\r\n" );
document.write( "    5x - 90 + 3x = 6\r\n" );
document.write( "\r\n" );
document.write( "    8x = 90+6 = 96\r\n" );
document.write( "\r\n" );
document.write( "     x        = 96/8 = 12.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  12 books.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );