document.write( "Question 1184398: Andy can buy 3 mechanical pencils with 2/7 of his money. He can buy 6 mechanical pencils and 3 pens with the rest of his money. If he only buys pens, how many pens can he buy with all his money? \n" ); document.write( "
Algebra.Com's Answer #814987 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
m = price of a mechanical pencil.
\n" ); document.write( "p = price of a pen.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "3m = 2/7 * x.
\n" ); document.write( "6m + 3p = 5/7 * x.
\n" ); document.write( "5/7 * x = the rest of his money after he spent 2/7 * x.
\n" ); document.write( "if 3m = 2/7 * x, then 6m = 4/7 * x.
\n" ); document.write( "6m + 3p = 5/7 * x becomes 4/7 * x + 3p = 5/7 * x.
\n" ); document.write( "subtract 4/7 * x from both sides of this equation to get 3p = 1/7 * x.
\n" ); document.write( "solve for p to get p = 1/21 * x.
\n" ); document.write( "solve for x to get x = 21 * p.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that's your answer.
\n" ); document.write( "he could buy 21 pens with his original amount of money.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to confirm, replace x with any value of money.
\n" ); document.write( "i chose 105 dollars because that's a multiple of 7 (105 / 7 = 15).
\n" ); document.write( "when x = 105, he could buy 3 mechanical pencils with 2/7 of his money.
\n" ); document.write( "that means he could buy 3 mechanical pencils for 30 dollars.
\n" ); document.write( "that means each mechanical pencil costs 10 dollars.
\n" ); document.write( "he could also buy 6 mechanical pencils and 3 pens for 5/7 times 105.
\n" ); document.write( "5/7 times 105 = 75 dollars.
\n" ); document.write( "6 mechanical pencils cost 60 dollars, leaving 15 dollars for the pens.
\n" ); document.write( "3 pens for 15 dollars means that each pen costs 5 dollars.
\n" ); document.write( "105 / 5 = 21 pens that can be bought for 105 dollars at 5 dollars apiece.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you get the same answer whether you're working with x or with some value for x.
\n" ); document.write( "this is as it should be.
\n" ); document.write( "the answer for x is confirmed when i used value for x instead.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );