The correct response is:
It gave the land west of El Paso to New Mexico and gave Santa Fe County back to New Mexico.
This is how the Compromise of 1850 shaped Texas's western border. Texas did lose some territory, but it retained El Paso, while the rest of the land to the west became part of New Mexico Territory.