document.write( "Question 117319: Mother made cupcakes for the church picnic.\"If I had made 6 more chocolate cupcakes, I would have as many chocolate as I do white and pepermint combined,\"said Mother.\"I have 4 more white than peppermint.\"Altogether she baked 50 cupcakes.How many of each kind did she have? \n" ); document.write( "
Algebra.Com's Answer #85376 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
c = number of chocolate
\n" ); document.write( "w = number of white
\n" ); document.write( "p = number of pepermint
\n" ); document.write( "w + p + c = 50
\n" ); document.write( "w + p = c + 6
\n" ); document.write( "w = p + 4
\n" ); document.write( "add the 1st and 2nd equations
\n" ); document.write( "2w + 2p = 56
\n" ); document.write( "Substitute w from the 3rd into this result
\n" ); document.write( "2(p + 4) + 2p = 56
\n" ); document.write( "2p + 8 + 2p = 56
\n" ); document.write( "4p = 48
\n" ); document.write( "p = 12
\n" ); document.write( "There are 12 peppermint
\n" ); document.write( "w = p + 4
\n" ); document.write( "w = 12 + 4
\n" ); document.write( "w = 16
\n" ); document.write( "There are 16 white
\n" ); document.write( "w + p + c = 50
\n" ); document.write( "16 + 12 + c = 50
\n" ); document.write( "28 + c = 50
\n" ); document.write( "c = 22
\n" ); document.write( "There are 22 chocolate
\n" ); document.write( "check answer
\n" ); document.write( "w + p = c + 6
\n" ); document.write( "16 + 12 = 22 + 6
\n" ); document.write( "28 = 28
\n" ); document.write( "OK
\n" ); document.write( "w + p + 4
\n" ); document.write( "16 = 12 + 4
\n" ); document.write( "16 = 16
\n" ); document.write( "OK
\n" ); document.write( "
\n" );