The nile in egypt and thw euphrates river in mesopotamia provided rich fertile soil that allowed civilizations to