Here’s how the responses should be placed in 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, the Srivijaya empire emerged in Indonesia. It relied on farming and trade.