document.write( "Question 808234: In a jar of red, green and blue marbles,all but 15 are red marbles,all but 21 are green,and all but 14 are blue.how many marbles are there in the jar?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #486900 by Finavon(81)\"\" \"About 
You can put this solution on YOUR website!
Main difficulty is writing the equations.
\n" ); document.write( "Let number of marbles be R, G and B
\n" ); document.write( "G+B=15 (1) (ie non red)
\n" ); document.write( "R+B=21 (non green)
\n" ); document.write( "R+G=14 (non blue)
\n" ); document.write( "add all together:
\n" ); document.write( "2G+2B+2R=50
\n" ); document.write( "So R+G+B=25 (2)
\n" ); document.write( "There are 25 marbles in total
\n" ); document.write( "Check:
\n" ); document.write( "Substitute (1) in (2): R+15=25
\n" ); document.write( "So R=10
\n" ); document.write( "Then B=11 and G=4
\n" ); document.write( "With a total of 25
\n" ); document.write( "
\n" );