I've been trying for hours. I'm teaching myself automata theory right now and I have this DFA:
And I'm trying to create a regex from it by removing q1 first and then q2. I already managed to remove q1 by doing it like this:
But now I'm not sure how to continue. The next step I'm trying to do is remove q2 and then read the regex from it. Even after trying to wrap my head around it for a long time I didn't really get it. Hopefully someone here can help me :)