a).
An infinite regular language must be having a loop in its transition diagram for DFA deterministic finite automaton (if complement operation is not given). After that unroll the loop to make two DFA deterministic finite automatons, regular expression can also be described as a sequence of pattern that defines a string. Regular expressions are used to match character combinations in strings.
At the first of which accepts strings which have odd number of iterations of concerned loops and second accepts strings which have even number of iteration of concerned loops.
Since is infinite and regular language, then the pumping lemma holds. And also have a pumping length for this language. And then take one word such that and according to the pumping lemma we split it into as in the lemma.
Then, define the two languages like this:
contains all the strings.
contains all the strings.
That means that contains all the strings that go an even number of times in that cycle, and A2A2 all the strings that go an odd number of times in that cycle.
Hence, can be split into two infinite disjoint regular subsets is proved.