Mexico is in a trade agreement with the US (NAFTA), so it is likely that it would have the same economic system as the US - a free market system.
Cuba is known to be different from the US, and in fact it has a planned economy - a socialist economy - this means that the prizes are determined by the government and not by the demand and supply.
The correct answer is
Mexico has a free market system and Cuba has a socialist system.