I have 2 residential properties and some RSU stock options. I wish to sell them and invest all the proceeds in buying another property closer by to my work place. How could I structure the sale so that i avoid capital gains tax? Can i invest the capital gains from both properties into a 3rd property? Can i invest the RSU capital gains into 3rd property?