document.write( "Question 1203168: Barry has a bag of marbles. 3/8 of the marbles are red. 70% of the remaining marbles are yellow. The other 12 marbles are green. How many marbles are there in the bag altogether? \n" ); document.write( "
Algebra.Com's Answer #838517 by ikleyn(52800)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Barry has a bag of marbles. 3/8 of the marbles are red.
\n" ); document.write( "70% of the remaining marbles are yellow. The other 12 marbles are green.
\n" ); document.write( "How many marbles are there in the bag altogether?
\n" ); document.write( "~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x be the total marbles (altogether).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Write equation for total marbles\r\n" );
document.write( "\r\n" );
document.write( "    \"%283%2F8%29x\" + \"0.7%2A%285%2F8%29x\" + 12 = x.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To solve, multiply all the terms by 8; then simplify\r\n" );
document.write( "\r\n" );
document.write( "    3x + 0.7*5x + 96 = 8x\r\n" );
document.write( "\r\n" );
document.write( "    3x + 3.5x + 96 = 8x\r\n" );
document.write( "\r\n" );
document.write( "    96 = 8x - 3x - 3.5x\r\n" );
document.write( "\r\n" );
document.write( "    96 = 1.5x\r\n" );
document.write( "\r\n" );
document.write( "     x = 96/1.5 = 64.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  There are 64 marbles in the bag.\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" );