document.write( "Question 557294: There are 40 yellow and blue marbles in a bag . There are 4 times as many yellow marbles as blue marbles \n" ); document.write( "
Algebra.Com's Answer #362576 by bluemockingjay7(41)\"\" \"About 
You can put this solution on YOUR website!
yellow = 4x
\n" ); document.write( "blue = x
\n" ); document.write( "total = 40 marbles\r
\n" ); document.write( "\n" ); document.write( "4x + x = 40
\n" ); document.write( "5x = 40
\n" ); document.write( "5x/5 = 40/5
\n" ); document.write( "x = 8\r
\n" ); document.write( "\n" ); document.write( "there are 8 blue marbles\r
\n" ); document.write( "\n" ); document.write( "yellow = 4(8) = 32\r
\n" ); document.write( "\n" ); document.write( "and 32 yellow marbles
\n" ); document.write( "
\n" );