There are a few different territories that were gained by the Mexican-American war. The Treaty of Guadalupe Hidalgo granted the Mexican cession to the U.S. If by territories you mean states, the Mexican Cession included parts of states including California, Nevada, Utah, Arizona, New Mexico, and Wyoming. When Texas was completely annexed, it gave the U.S. all of Texas and parts of New Mexico, Oklahoma, and Kansas. The Gadsden Purchase also gave the U.S. parts of Southern Arizona and New Mexico including cities such as Tucson.
Agricultural yields were about 2 tan (a unit of about 110 pounds or 50 kilograms) of grain per mu during the Song dynasty, compared with 1 tan during the early Han and 1.5 tan during the late Tang.