Let's begin by listing out the given information:
Number of cups of snack mix = 11 1/7
Each bag = 3/7
The number of bags needed is given by the quotient of 11 1/7 & 3/7:
[tex]\begin{gathered} =11\frac{1}{7}\div\frac{3}{7} \\ =\frac{78}{7}\div\frac{3}{7} \\ =\frac{78}{7}\cdot\frac{7}{3} \\ =26 \end{gathered}[/tex]26 bags are needed