6. Pack 35 egg yolk mooncakes, there are two packaging specifications: large bags with 9 mooncakes per pack, and small bags with $\mathbf{4}$ mooncakes per pack. The requirement is that no mooncakes should be left over, so a total of $\qquad$ packs were made.
【Answer】 5
Analysis: Let the number of large bags be $\mathrm{x}$, and the number of small bags be $\mathrm{y}$, (both $\mathrm{x}$ and $\mathrm{y}$ are integers) so $9 \mathrm{x}+4 \mathrm{y}=35$, it is easy to get $\left\{\begin{array}{l}x=3 \\ y=2\end{array}\right.$, so a total of $2+3=5$ bags were packed