document.write( "Question 963650: A high school band held a bake sale. The number of cupcake sold was four more then twice the number of cookies sold.the band sold a total of 52cupcake and cookies. How many cupcake were sold \n" ); document.write( "
Algebra.Com's Answer #588742 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
x=number of cookies; y=number of cupcakes=2x+4
\n" ); document.write( "x+y=52 Substitute for y.
\n" ); document.write( "x+2x+4=52
\n" ); document.write( "3x=48
\n" ); document.write( "x=16 They sold 16 cookies
\n" ); document.write( "y=2x+4=2(16)+4=32+4=36 ANSWER: They sold 36 cupcakes
\n" ); document.write( "CHECK:
\n" ); document.write( "x+y=52
\n" ); document.write( "16+36=52
\n" ); document.write( "52=52
\n" ); document.write( "
\n" );