If the container is a cube, every side is a square, so the length and the width are the same.
To get the number of gumballs based on the number of gumballs in one side, we can use the following equation
![TotalGumballs=x^3](https://img.qammunity.org/2023/formulas/mathematics/college/egam02dg5f99m89s12lf0ndfelnvr0ekhi.png)
Where x is the number of gumballs along one side. So, replacing the total by 729 and solving for x, we get:
![\begin{gathered} 729=x^3 \\ \sqrt[3]{729}=x \\ 9=x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9tctejy4fgr7hc2v97j1w661il7nod39zd.png)
Answer: She counts 9 gumballs along one side of the container