document.write( "Question 1189464: A box contains red, blue and green pens. If one pen is chosen at random, the probability that a red pen will be chosen is two times the probability for
\n" ); document.write( "a blue pen and three times the probability for a green pen. If there are 12 red pens in the box, how many pens are in the box?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #820842 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A box contains red, blue and green pens. If one pen is chosen at random, the probability that a red pen will be chosen is two times the probability for
\n" ); document.write( "a blue pen and three times the probability for a green pen. If there are 12 red pens in the box, how many pens are in the box?
\n" ); document.write( "~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x be the number of pens, in total.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then the probability to get red pen is \"12%2Fx\";\r\n" );
document.write( "\r\n" );
document.write( "and two other probabilities are  \"6%2Fx\"  and \"4%2Fx\", according to the problem.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The sum of probabilities is 1, so\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"12%2Fx\" + \"6%2Fx\" + \"4%2Fx\" = 1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It gives  12 + 6 + 4 = x,  hence,  x = 22 :  there are 22 pens, in all.\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" );