As the number of gumball is: N
[tex]\begin{gathered} N=\frac{Volume\text{ of mac.}}{\text{Volume of gumball}} \\ N=\frac{\frac{r^2}{54}}{\frac{4}{3}\pi\times r^3} \end{gathered}[/tex]Now put the values in the formula:
[tex]\begin{gathered} N=\frac{\frac{r^2}{54}}{\frac{4}{3}\pi(1.27)^3} \\ N=\frac{r^2}{463.3} \end{gathered}[/tex]Now put the radius of the machine.n As there is no radius given in the problem You can put it accordinagly