The question asks to write down a regular expression $r$ indicating the language of all the words above $\Sigma = \{a, b\}$ , in which the number of $a$ is even and there is no sub-word $aab$ in them.
I am aware of the fact that there is an algorithm that converts a finite automaton into a regular expression.
I want to know if there is a systematic way of working that does not use this algorithm and will give an appropriate regular expression.
I have written $r = b^*(aa)^* + (b^*ab^+ab)^*(aa)^*$
This is an incorrect answer.
I tried to fix it, but I feel like I'm just adding expressions and can't understand how to work on the problem thoroughly.