document.write( "Question 220259: A bookstore priced all hardback books at $5 a book and all paperbacks at $1. The store sold 30 more paperback books than hardbacks. Total sales were $354. How many types were sold? \n" ); document.write( "
Algebra.Com's Answer #165413 by likaaka(51)\"\" \"About 
You can put this solution on YOUR website!
You must set up a system of equations. Begin by naming your variables ie.
\n" ); document.write( "H is the amount of hardback books sold &
\n" ); document.write( "P is the amount of paperback books sold\r
\n" ); document.write( "\n" ); document.write( "If the 30 more paperbacks were sold than hardbacks, your first equation is P=30+H
\n" ); document.write( "If total sales were $354 and given the costs of each type of book, then 5H+1P=354\r
\n" ); document.write( "\n" ); document.write( "Here is your system of equations
\n" ); document.write( "P=30+H
\n" ); document.write( "5H+P=354\r
\n" ); document.write( "\n" ); document.write( "Now substitute the value of P into the second equation to solve
\n" ); document.write( "5H+(30+H)=354 **the parenthesis aren't needed here but I used them to illustrate the substitution
\n" ); document.write( "Now combine like terms and solve for H
\n" ); document.write( "6H+30=354 subtract 30 from both sides
\n" ); document.write( "6H+30 -30=354 -30
\n" ); document.write( "6H=324 divide 6 from both sides
\n" ); document.write( "(6H)/6=324/6
\n" ); document.write( "H=54, so 54 hardback books were sold
\n" ); document.write( "Given P=30+H, then
\n" ); document.write( "P=30+54
\n" ); document.write( "P=84, so 84 paperback books were sold
\n" ); document.write( "
\n" );