Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The swap ratio determines the control that each group of shareholders of the companies shall have over the combined firm: essentially a function of the relative value of the strategic and financial results of the two companies. This ratio is thus calculated as a function of the valuation of the various assets and liabilities of the merging companies.