Retirement tax questions

The sale will be reported on the W-2 along with the withheld taxes AND on the 1099-B from the broker and you MUST report BOTH on the tax return ... failure to do so will get you an audit letter in about 2 years.  The basis on the 1099-B will reflect the W-2 box 14 entry code V and will usually result in a loss of the broker's fee.  If the broker doesn't have the correct basis you will need to enter it from the info the employer gives you.