International trade and capital flows - Comparative advantage trade barriers and terms of trade