8. (3 points) A store has two sizes of gift boxes for the same type of pastry, with the larger box priced at 85.6 yuan per box and containing 32 pastries, and the smaller box priced at 46.8 yuan per box and containing 15 pastries. If Wang Lei spent 654 yuan to buy 9 boxes of pastries, then he can get $\qquad$ pastries.
【Solution】Let $x$ be the number of large boxes and $y$ be the number of small boxes. According to the problem, we have the equation:
$$
85.6 x+46.8(9-x)=654
$$

Solving the equation gives $x=6,9-6=3$.
Therefore, there are 6 large boxes and 3 small boxes, which contain $32 \times 6+15 \times 3=237$ pieces. Answer: A total of 237 pieces of pastries can be obtained.