Investors & landlords

some info is missing.   what happened to the X stock?   the exchange of your X stock for Y stock could be taxable in 2021. then the basis in the Y stock becomes the basis for gain or loss when it is sold.   the exchange could be tax-free which means the tax basis for determining gain or loss on the Y stock is the same as your tax basis in the X stock.