"....which forms to use"
F 8949 > Sch D > 1040
Tho some folks say nowhere it there's no taxable gain. YMMV