_ a _ b _ abaa _ bab _ abb
aaabb
ababb
babab
babba
Explanation:
The series is baa/bba/baa/bba/baa/bb. Thus, the pattern baa/bba is repeated.
The series is baa/bba/baa/bba/baa/bb. Thus, the pattern baa/bba is repeated.