Question 1162077
Let x = no. of items he had originally
:
Of the items he had, 1/5 were granola bars and 1/2 of the remaining items were containers of popcorn.
half of the remaining items {{{4/5}}}x * {{{1/2}}} = {{{2/5}}}x were popcorn
:
 The rest were divided equally among apples, rice cake, and containers of yogurt.
 Xavier sold the 8 apples he had.
This means the rest were a total of 3(8) = 24 items
:
 How many items did he originally have
:
x = bars + popcorn + the rest
x = {{{1/5}}}x + {{{2/5}}}x + 24
x = {{{3/5}}} + 24
x - {{{3/5}}}x = 24
{{{2/5}}}x = 24
multiply both sides by 5
3x = 120
x = 120/3
x = 40 items total