In this particular case this is a fully "taxable proceeds" situation. That is, you sold all your stock and received "proceeds" amounting to the sum of the cash and the fair market value of the stock received.
So you essentially treat this as an "all cash" deal.
Tom Young