Spain's economy was based on the system of mercantilism, under which...

Athe colonies can trade with anyone they want.

Bthe home country became richer by controlling the trade of its colonies.

Dthe colonies and the home country operated entirely separate of one another.