Investors & landlords

Thank you for answering so quickly and helping navigate the situation @TaxGuyBill
Wouldn't moving to another state for a job override the other rules?

Here's the full picture.
Bought in 2007.
Lived for 3.5 years
Rental for 3 years
Lived for 18 months
Got a job in a different state
Rental for 3 years
Want to sell 🙂

The depreciation recapture tax would be for 6 years but I'm still unclear what the prorated percentage would be for capital gains.