I have a unique situation. My mom bought a house and put it in her name since I didn’t qualify. I’ve been living in it for 5 years and paid her the mortgage and property taxes every month and she paid them directly. I just finally bought it from her a few months ago but now I would really like to sell and use the equity for a down payment on a new house. I know you have to live in the home as a primary residence for 2 years which I have far exceeded but the whole time it was under my mom’s name nothing was in my name except utilities. Since I have been living here for 5 years and have proof of it is it possible to avoid capital gains?