Here is how the words fit into the sentences:
"By the ninth century, the Khmer empire had emerged in eastern Indochina. It developed around agriculture and used reservoirs to store water. To the south, Srivijaya empire emerged in Indonesia. It relied on farming and trade."