How did the urban society form?
The irrigationsystem worked great: Egyptians had a surplus. So people started doing different professions (jobs) like crafts. They traded the surplus on food and product on a market. These markets grew and the places became flourishing cities.