Investors & landlords

Lot 2
1) Trade 698 shares DG long term
2) Cost Basis $10,058
3) Proceeds reported on 1099B of uncovered security $24,218
4) Value of exchange $16,030 ($12,215 cash, $3815 in stock, 218 shares @ $17.50)

Also, what is the basis of my newly acquired stock?