I purchased a 2nd home about 26 months ago. It was not a rental, just a 2nd home for my family to use for vacation. I am in the process of selling it. Can I use the profits to pay off my main home's mortgage without paying capital gains? I am hoping the profit is actually more than the payoff on my original mortgage. What can I do with the remainder to avoid capital gains? Thanks in advance.