How do wa-mā zāla and ilā an work together?

Ṭarafah: Tribal Gatherings, Song, Extravagance, and Isolation (Verses 47–54)