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 #814967 by ikleyn(52778)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Andy can buy 3 mechanical pencils with 2/7 of his money.
\n" ); document.write( "He can buy 6 mechanical pencils and 3 pens with the rest of his money.
\n" ); document.write( "If he only buys pens, how many pens can he buy with all his money?
\n" ); document.write( "~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x be the price of a pencil and y be the price of a pen.\r\n" );
document.write( "Let M be amount of money Andy has.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then, interpreting the problem literally as it is written, we have these two equations\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    3x = \"%282%2F7%29%2AM\"           (1)\r\n" );
document.write( "\r\n" );
document.write( "    6x + 3y = \"%285%2F7%29%2AM\"      (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Based on the first equation, I can replace 6x in the second equation by  \"%284%2F7%29M\".  So, I do it, and I get\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"%284%2F7%29M\" + 3y = \"%285%2F7%29M\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It gives \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    3y = \"%285%2F7%29M\" - \"%284%2F7%29M\" = \"%281%2F7%29M\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "THEREFORE,\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"M%2Fy\" = 3*7 = 21.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But \"M%2Fy\" is exactly the number of pens to buy.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "HENCE,  Andy can buy  21  pens with all his money.    ANSWER\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );