Investors & landlords

what basis do I report on Schedule D for the following Lots traded on the merger.
1) Trade 652 share DG long term
2) Cost Basis $24,000
3) Proceeds reported on 1099B of uncovered security $22,629
4) Value of exchange from merger $14,984 (11,410 in cash remainder in stock)