how the terms of trade determine the extent to which each country specializes

Explain and illustrate how the terms of trade determine the extent to which each country specializes