One table at a bake sale has 150 mini cupcakes. Another table has 180 mini cookies. Which allows more square arrangements when all the mini cupcakes and mini cookies are displayed? Explain.