(a)if the amount of the net consideration is greater than the cost of the new asset, then, so much of the capital gain as it bears to the whole of the capital gain the same proportion as the cost of the new asset bears to the net consideration, shall not be charged under section 45 as the income of the previous year; or