document.write( "Question 1204487: Miguel spends $100 on books, five of which are hardcover and the remaining four are paperback. The prices at the bookstore are based on whether the book is hardcover or paperback. It charges $2 less for paperback books than for hardcover books. What is the price for hardcover books? \n" ); document.write( "
Algebra.Com's Answer #840765 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
price for a hardcover book is x.
\n" ); document.write( "price for a paperback book is x - 2
\n" ); document.write( "total spent is 100.
\n" ); document.write( "equation is 5 * x + 4 * (x - 2) = 100
\n" ); document.write( "simplify to get 5 * x + 4 * x - 8 = 100
\n" ); document.write( "combine like terms to get 9 * x - 8 = 100
\n" ); document.write( "add 8 to both sides of the equation to get 9 * x = 108
\n" ); document.write( "divide both sides of the equation by 9 to get x = 108 / 9
\n" ); document.write( "solve for x to get x = 12.
\n" ); document.write( "5 * x + 4 * (x - 2) = 100 becomes 5 * 12 + 4 * 10 = 100 which becomes 60 + 40 = 100 which becomes 100 = 100, confirming the value of x is good.
\n" ); document.write( "your solution is:
\n" ); document.write( "the price of a hardcover book is 12.
\n" ); document.write( "the price of a paperback book is 10.
\n" ); document.write( "
\n" ); document.write( "
\n" );