What did the Egyptians have to learn to do to make possible the growth of there civilization

They had to build dikes, reservoirs, and irrigation ditches to control river flooding.