how do i file in 2 states if i moved mid year and still work remote for the previous state i resided in, there is no reciprocity?

taxes were taken out by both states also