Give the step-by-step reasoning process and then the final answer. A movie ticket costs $5. The cost of the popcorn is 80% of the cost of the ticket and a can of soda costs 50% of the cost of the popcorn. A family bought 4 tickets, 2 sets of popcorn, and 4 cans of soda. How much did they spend?
The cost of the popcorn is $5 x 80 / 100 = $4. The cost of a can of soda is $4 x 50 / 100 = $2. The cost of 4 tickets is $5 x 4 = $20. The cost of 2 sets of popcorn is $4 x 2 = $8. The cost of 4 cans of soda is $2 x 4 = $8. Therefore, the family paid a total of $20 + $8 + $8 = $36.
The final answer: 36.