Mergers

Compaq was bought out by HP. I need to show that as well as the payout I got for a partial share. What is the right way? I did it on 3Com/Palm and on Cabletron/Enterasys/Riverstone as sales and purchases, but I had to pay the taxman becuase I did.