Why did many economies in Central and South America develop as export-based economies?

They were small countries located near several large countries.
They were colonies that had raw materials that large nations wanted.
They were independent nations that needed to make money any way they could.
They were large countries that made finished products that other countries needed.