document.write( "Question 1166874: A certain brand of pencils comes in three packages with 6, 12, and 24 pencils, costing Php 2.00, Php 3.00 and Php 4.00 per package, respectively. A store sold 12 packages containing a total of 162 pencils, and took in Php 35.00. How many 12 package were sold? \n" ); document.write( "
Algebra.Com's Answer #791421 by ikleyn(52790)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A certain brand of pencils comes in three packages with 6, 12, and 24 pencils, costing Php 2.00, Php 3.00 and Php 4.00
\n" ); document.write( "per package, respectively. A store sold 12 packages containing a total of 162 pencils, and took in Php 35.00. How many 12 package were sold?
\n" ); document.write( "~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x = # of 6-pencils packages\r\n" );
document.write( "\r\n" );
document.write( "    y = # of 12-pencils packages\r\n" );
document.write( "\r\n" );
document.write( "    z = # of 24-pencils packages\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then from the condition, you have these 3 equation for 3 unknowns\r\n" );
document.write( "\r\n" );
document.write( "     x +  y  +   z =  12    (1)\r\n" );
document.write( "\r\n" );
document.write( "    6x + 12y + 24z = 162    (2)\r\n" );
document.write( "\r\n" );
document.write( "    2x +  3y +  4z =  35    (3)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In equation (2), cancel the common factor 6 in both sides\r\n" );
document.write( "\r\n" );
document.write( "     x +  y  +   z =  12    (4)\r\n" );
document.write( "\r\n" );
document.write( "     x + 2y +   4z =  27    (5)\r\n" );
document.write( "\r\n" );
document.write( "    2x +  3y +  4z =  35    (6)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Add equations (4) and (5) and then subtract equation (6) from the sum.  You will get\r\n" );
document.write( "\r\n" );
document.write( "                 z = 4.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now substitute z= 4 into equations (4) and (5).  You will get\r\n" );
document.write( "\r\n" );
document.write( "     x +  y +  4 = 12       (7)\r\n" );
document.write( "\r\n" );
document.write( "     x + 2y + 16 = 27       (8)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify it\r\n" );
document.write( "\r\n" );
document.write( "     x +  y =  8            (9)\r\n" );
document.write( "\r\n" );
document.write( "     x + 2y = 11            (10)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Finally, from equation (10) subtract equation (9).  You will get\r\n" );
document.write( "\r\n" );
document.write( "         y  = 3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  3 (three) 12-pencils packages were sold.\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" );