document.write( "Question 1162077: At intermission, Xavier sold refreshments. Of the items he had, 1/5 were granola bars and 1/2 of the remaining items were containers of popcorn. The rest were divided equally among apples, rice cake, and containers of yogurt. Xavier sold the 8 apples he had. How many items did he originally have? \n" ); document.write( "
Algebra.Com's Answer #785789 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Let x = no. of items he had originally
\n" ); document.write( ":
\n" ); document.write( "Of the items he had, 1/5 were granola bars and 1/2 of the remaining items were containers of popcorn.
\n" ); document.write( "half of the remaining items \"4%2F5\"x * \"1%2F2\" = \"2%2F5\"x were popcorn
\n" ); document.write( ":
\n" ); document.write( " The rest were divided equally among apples, rice cake, and containers of yogurt.
\n" ); document.write( " Xavier sold the 8 apples he had.
\n" ); document.write( "This means the rest were a total of 3(8) = 24 items
\n" ); document.write( ":
\n" ); document.write( " How many items did he originally have
\n" ); document.write( ":
\n" ); document.write( "x = bars + popcorn + the rest
\n" ); document.write( "x = \"1%2F5\"x + \"2%2F5\"x + 24
\n" ); document.write( "x = \"3%2F5\" + 24
\n" ); document.write( "x - \"3%2F5\"x = 24
\n" ); document.write( "\"2%2F5\"x = 24
\n" ); document.write( "multiply both sides by 5
\n" ); document.write( "3x = 120
\n" ); document.write( "x = 120/3
\n" ); document.write( "x = 40 items total\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );