You get the difference between the buyout price and the exercise price. If it was bought out for 5B, they have to figure what the share price would be to cover all the warrants, options, etc being paid (minus their exercise price). Then that is the share price buyout.