How do I add the w-2 form for arizona and do the state taxes for that state when I also have a w-2 form for texas?

I live in texas and I work in texas  but I worked out of state for a few months last year in arizona. How do I add the w-2 form for arizona and how do I do the state taxes for that state?