Calculate 1031 Exchange Gain