document.write( "Question 124754: I have 7 bags of marbles. There are 200 marbles in total. \r
\n" ); document.write( "\n" ); document.write( "bag 1 + bag 2 = 57 marbles
\n" ); document.write( "bag 2 + bag 3 = 83 marbles
\n" ); document.write( "bag 3 + bag 4 = 71 marbles
\n" ); document.write( "bag 4 + bag 5 = 43 marbles
\n" ); document.write( "bag 5 + bag 6 = 66 marbles
\n" ); document.write( "bag 6 + bag 7 = 43 marbles\r
\n" ); document.write( "\n" ); document.write( "How many marbles are in each bag?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #91809 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
I have 7 bags of marbles. There are 200 marbles in total.
\n" ); document.write( ":
\n" ); document.write( "Change the bag numbers to letters
\n" ); document.write( "bag a + bag b = 57 marbles
\n" ); document.write( "bag b + bag c = 83 marbles
\n" ); document.write( "bag c + bag d = 71 marbles
\n" ); document.write( "bag d + bag e = 43 marbles
\n" ); document.write( "bag e + bag f = 66 marbles
\n" ); document.write( "bag f + bag g = 43 marbles
\n" ); document.write( "How many marbles are in each bag?
\n" ); document.write( ":
\n" ); document.write( "Try to get everything in terms of a
\n" ); document.write( "b = -a + 57
\n" ); document.write( ":
\n" ); document.write( "c = -b + 83
\n" ); document.write( "c = -(-a+57) + 83; substitute for b
\n" ); document.write( "c = +a - 57 + 83
\n" ); document.write( "c = a + 26
\n" ); document.write( ":
\n" ); document.write( "d = -c + 71
\n" ); document.write( "d = -(a+26) + 71; substitute for c
\n" ); document.write( "d = -a - 26 + 71
\n" ); document.write( "d = -a + 45
\n" ); document.write( ":
\n" ); document.write( "e = -d + 43
\n" ); document.write( "e = -(-a+45) + 43; substitute d
\n" ); document.write( "e = +a - 45 + 43
\n" ); document.write( "e = a - 2
\n" ); document.write( ":
\n" ); document.write( "f = -e + 66
\n" ); document.write( "f = -(a-2) + 66; substitute for e
\n" ); document.write( "f = -a + 2 + 66
\n" ); document.write( "f = -a + 68
\n" ); document.write( ":
\n" ); document.write( "g = -f + 43
\n" ); document.write( "g = -(-a+68) + 43
\n" ); document.write( "g = +a - 68 + 43
\n" ); document.write( "g = a - 25
\n" ); document.write( ":
\n" ); document.write( "Substitute for b thru g in order = 200
\n" ); document.write( "a + (-a+57) + (a+26) + (-a+45) + (a-2) + (-a+68) + (a-25) = 200
\n" ); document.write( ":
\n" ); document.write( "4a - 3a + 57 + 26 + 45 - 2 + 68 - 25 = 200
\n" ); document.write( ":
\n" ); document.write( "a + 169 = 200
\n" ); document.write( "a = 200 - 169
\n" ); document.write( "a = 31 marbles in bag 1
\n" ); document.write( ":
\n" ); document.write( "Find the values b thru g by substituting for a:
\n" ); document.write( "b = -31 + 57 = 26 in bag 2
\n" ); document.write( "c = 31 + 26 = 57 in bag 3
\n" ); document.write( "d = -31 + 45 = 14 in bag 4
\n" ); document.write( "e = 31 - 2 = 29 in bag 5
\n" ); document.write( "f = -31 + 68 = 37 in bag 6
\n" ); document.write( "g = 31 - 25 = 6 in bag 7
\n" ); document.write( ":
\n" ); document.write( "Check our solutions using the above values:
\n" ); document.write( "31 + 26 + 57 + 14 + 29 + 37 + 6 = 200 total
\n" ); document.write( "
\n" );