Recently sold a house in Utah. It was my primary residence for over ten years. I moved out almost 3 years ago. It has been a rental since late 2014. However, I lived in it before then, meaning I lived in it 2 out of the last 5 years. Will I have to pay captial gains? THANK YOU!