document.write( "Question 385312: A book cost $15 if bought online and $22.50 if bought at the store. The bookstore sold 250 books and took in $4995. How many books were bought online and how many were bought in the store? \n" ); document.write( "
Algebra.Com's Answer #272624 by texttutoring(324)\"\" \"About 
You can put this solution on YOUR website!
You have two variables, so you need to make two equations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let x = number of books bought online
\n" ); document.write( "Let y = number of books bought in store\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There were 250 books sold in total:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x+y = 250\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Their sales totaled $4995:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "15x + 22.50y = 4995\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use elimination or substitution with the two equations to solve for x and y. I will use elimination, by multiplying the first equation by 15, then subtracting.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "15x + 22.50y = 4995
\n" ); document.write( "15x + 15y = 3750
\n" ); document.write( "-----------------
\n" ); document.write( "0 + 7.50y = 1245\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = 1245/7.50
\n" ); document.write( "y= 166\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now find x:\r
\n" ); document.write( "\n" ); document.write( "x+y=250
\n" ); document.write( "x+166=250
\n" ); document.write( "x=250-166
\n" ); document.write( "x=84\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So there were 84 books sold online, and 166 sold in the store. Hope this helps! Let me know if you need any more help.
\n" ); document.write( "
\n" ); document.write( "
\n" );