document.write( "Question 121454: At Gwen's garage sale, all books were one price, and all magazines were another price. harriet bought four books and three magazines for $1.45 and June bought two books and five magazines for $1.25. What was the price of a book and what was the price for a magazine? \n" ); document.write( "
Algebra.Com's Answer #89189 by algebrapro18(249)\"\" \"About 
You can put this solution on YOUR website!
At Gwen's garage sale, all books were one price, and all magazines were another price. harriet bought four books and three magazines for $1.45 and June bought two books and five magazines for $1.25. What was the price of a book and what was the price for a magazine?

\r
\n" ); document.write( "\n" ); document.write( "This problem is solved using a system of linear equations using eliminaiton. First off we need to set up the variables.
\r
\n" ); document.write( "\n" ); document.write( "x = price of each book
\n" ); document.write( "y = price of each magazine
\r
\n" ); document.write( "\n" ); document.write( "now we set up our system
\r
\n" ); document.write( "\n" ); document.write( "4x + 3y = 1.45
\n" ); document.write( "2x + 5y = 1.25
\r
\n" ); document.write( "\n" ); document.write( "now we multiply by 100 to clear the decimals
\r
\n" ); document.write( "\n" ); document.write( "400x + 300y = 145
\n" ); document.write( "200x + 500y = 125
\r
\n" ); document.write( "\n" ); document.write( "Now multiply the second equation by -2.
\r
\n" ); document.write( "\n" ); document.write( "-400x - 1000y = -250
\r
\n" ); document.write( "\n" ); document.write( "Now add the first equation to that and cancel the x's and solve for y.
\r
\n" ); document.write( "\n" ); document.write( "400x + 300y = 145
\n" ); document.write( "-400x - 1000y = -250
\n" ); document.write( "---------------------
\n" ); document.write( "-700y = -105
\n" ); document.write( "y = 0.15
\r
\n" ); document.write( "\n" ); document.write( "now plug that into the first equation and solve for x.
\r
\n" ); document.write( "\n" ); document.write( "400x + 300(0.15) = 145
\n" ); document.write( "400x + 45 = 145
\n" ); document.write( "400x = 100
\n" ); document.write( "x = 0.25
\r
\n" ); document.write( "\n" ); document.write( "So each book is priced at 25 cents and each magazine is priced at 15 cents.
\n" ); document.write( "
\n" );