Country X has a comparative advantage in food production while Country Y has a comparative advantage in textile production. If Country X shifts resources to focus on food and Country Y shifts to focus on textiles, total production will increase for both goods. Through free trade where Country X exports food for Country Y's textiles, both countries can increase their consumption beyond what is possible through domestic production alone.