What economic social and geographic factors led to the development of the first civilizations?

well honestly i'm trying to figure this out and nothing on the internet shows me.