Here are the words placed in the sentences appropriately:
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, the Srivijaya empire emerged in Indonesia. It relied on farming and trade.