The correct response is: "It gave the land west of El Paso to New Mexico and gave Santa Fe County back to New Mexico."
The Compromise of 1850 led to a redefinition of Texas's borders, particularly clarifying the state's boundaries in relation to New Mexico, which included adjusting territorial claims and setting the boundaries that we recognize today.