How do I calculate sales tax when I lived in two counties in 2017 and moved to another state after the 8th month of the year?

I lived in two counties in CA, thus the same state and moved to another, WA towards the end of the year, Sept.