I'm being asked to draw a DFA for the language specified by the following set former:
$$\{xabay\, |\, x \in \{a,b\}^*\text{ and }y \in \{a,b\}^*\}$$
Is this any different than the language specified by the set former:
$$\{xabax\, |\, x \in \{a,b\}^*\}$$
They seem equivalent to me, and I just want to make sure I'm not missing some crucial detail related to set former notation.
In the first set former, we can have $x=a$ and $y=b$ whereas in the second one you are restricted to the first and last (group of) letters being the same.
I believe an equivalent statement would be
$$\{xabay\,|\,x,y\in\{a,b\}^*\}$$
however don't quote me on that as my set notation is a bit sketchy and there's probably a small detail that I've forgotten about