The correct response is:
They accumulated wealth from trading with the Middle East and Africa.
Asian economies benefited significantly from trade across the Indian Ocean, gaining wealth through the exchange of goods with regions like the Middle East and Africa.