He would relay orders to the Giant Ant Queen, and she would relay them to the Giant Ant Beasts who would all fight as a group and support each other so that they can steadily take down the Goblin Beasts.
Adam instructed the Giant Ant Queen to relay to her subordinates that once they were all beginning to tire out or were being pushed back and injured, that they should retreat to the Core Part of the Goblin Beast City where they could take a moment to recover and feed off their queen.
As long as they followed Adam's instructions and everything went to plan, it would take them a few cycles of battling, then stopping to recover, before they can take down most of the Goblin Beasts.