I'm trying to solve a problem where I have to create a DFA for the union of two languages.
These are: {s is {a, b, c}*| every "a" in s is immediately followed by a "b"} and
{ s is {a, b, c}*| every "c" in s is immediately preceeded by a "b"}
I think I am on the right track, but not sure if it is totally correct. Could someone have a look please?