A former employer has terminated the ESOP program. All stock was sold and I received a check for the sale value. (I am retired and did not roll it into an IRA. The 1099-B does not have any info in boxes 1a - 18 but does have multiple lines that deal with the sale. One line has values for proceeds with no cost basis and two lines show proceeds with a cost basis. Do I just subtract the total cost as shown, from the proceeds and enter that amount in Box 2a?