For the sales tax you can only claim the time you were living in the US. For the time living in Germany you cannot claim any sales tax since you usually do not pay US sales tax while stationed abroad.
Therefore, you will only enter the state you lived for 3 months.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"