Regular Expression for {W | W contains an even number of As and an odd number of Bs, but doesn't contains AB}
Here's one possible solution:



(In fact, the words $b,bb,ba,baa,bab$ show that at least five states are needed, so this is the unique minimal DFA.)