We are selling a home that was our primary residence for 9 years and a rental the next 5 years. Will we pay taxes on full amount of capital gains or a % of that?