Selling a Home? Avoid Capital Gains Tax on Real Estate | NerdWallet