document.write( "Question 1066909: Vivienne made cupcakes to share with her friends and teachers at school. She gives half of her cupcakes to her friends. Then, she gives 2 cupcakes to her teacher. Finally, she gives 25% of the remaining cupcakes to her principal. She now has 12 cupcakes left. How many cupcakes did she bring to school? \n" ); document.write( "
Algebra.Com's Answer #682146 by ankor@dixie-net.com(22740)![]() ![]() You can put this solution on YOUR website! Vivienne made cupcakes to share with her friends and teachers at school. \n" ); document.write( " She gives half of her cupcakes to her friends. \n" ); document.write( " Then, she gives 2 cupcakes to her teacher. \n" ); document.write( " Finally, she gives 25% of the remaining cupcakes to her principal. \n" ); document.write( " She now has 12 cupcakes left. How many cupcakes did she bring to school? \n" ); document.write( ": \n" ); document.write( "let x = original number of cupcakes \n" ); document.write( ": \n" ); document.write( "x = .5x + 2 + .25(x - (.5x+2)) + 12 \n" ); document.write( "x = .5x + 2 + .25(x - .5x - 2) + 12 \n" ); document.write( "x = .5x + 2 + .25(.5x - 2) + 12 \n" ); document.write( "x = .5x + 2 + .125x - .5 + 12 \n" ); document.write( "x = .5x + .125x + 2 - .5 + 12 \n" ); document.write( "x = .625x + 13.5 \n" ); document.write( "x - .625x = 13.25 \n" ); document.write( ".375x = 13.25 \n" ); document.write( "x = 36 cupcakes she brought to school \n" ); document.write( " |