Technically it goes to the form 8949 and then to the Sch D but yes you can.
Did you sell the gifted land?
yes, in 2018
Yes, your capital loss carry forward will offset your capital gains from the sale of the land.