document.write( "Question 648743: Elliott went to the store for a bag of cookies. When he left the store he gave his mom half the cookies and half a cookie. He then came upon his aunt and gave her half the remaining cookies and half a cookie. Continuing on his way, he found his friend and gave him half the cookies left and half a cookie. When made it to class, he only had six cookies left. How many did he start out with? \n" ); document.write( "
Algebra.Com's Answer #406779 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+c+\" = number of cookies he started with
\n" ); document.write( "After giving some to Mom, he has left
\n" ); document.write( "\"+c+-+c%2F2+-+1%2F2++=+c%2F2+-+1%2F2+\"
\n" ); document.write( "After giving some to Aunt, he has left
\n" ); document.write( "\"+c%2F2+-+1%2F2+-+%28+c%2F4+-+1%2F4+%29+-+1%2F2+=+c%2F4+-+3%2F4+\"
\n" ); document.write( "After giving some to a friend he has left
\n" ); document.write( "\"+c%2F4+-+3%2F4+-+%281%2F2%29%2A%28+c%2F4+-+3%2F4+%29+-+1%2F2++=+c%2F8+-+7%2F8+\"
\n" ); document.write( "He ends up with 6 cookies, so
\n" ); document.write( "\"+c%2F8+-+7%2F8+=+6+\"
\n" ); document.write( "\"+c+-+7+=+48+\"
\n" ); document.write( "\"+c+=+55+\"
\n" ); document.write( "He started with 55 cookies
\n" ); document.write( "check answer:
\n" ); document.write( "He gave Mom \"+55%2F2+%2B+1%2F2+=+56%2F2+\"
\n" ); document.write( "\"+56%2F2+=+28+\",
\n" ); document.write( "so he has left \"+55+-+28+=+27+\"
\n" ); document.write( "He gave Aunt \"+27%2F2+%2B+1%2F2+=+28%2F2+\"
\n" ); document.write( "\"+28%2F2+=+14+\",
\n" ); document.write( "so, he has left \"+27+-+14+=+13+\"
\n" ); document.write( "He gave friend \"+13%2F2+%2B+1%2F2+=+14%2F2+\"
\n" ); document.write( "\"+14%2F2+=+7+\"
\n" ); document.write( "He has left \"+13+-+7+=+6+\"
\n" ); document.write( "OK\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );