Just doing some revision and came across these. Is anyone able to give me a quick explanation of 5, 6 & 7?

From how I understand it, the alphabet includes the empty string when the star operation is put on it.
My thoughts on 5 and 6: If the alphabet (E) input is the same for instance (is it <- this bit was the bit that confused me) then its simple because there are 2 and 3 of them so the result must be multiples, but thats only if they are the same. For 5 could you have the resultant string as "010" or would it have to be "0101" (the same)
8 - can't really see why w MUST have a 0 on the start and finish because it could be either with union?
Thanks.
EDIT: I meant 8 NOT 7

From how I understand it, the alphabet includes the empty string when the star operation is put on it.
My thoughts on 5 and 6: If the alphabet (E) input is the same for instance (is it <- this bit was the bit that confused me) then its simple because there are 2 and 3 of them so the result must be multiples, but thats only if they are the same. For 5 could you have the resultant string as "010" or would it have to be "0101" (the same)
8 - can't really see why w MUST have a 0 on the start and finish because it could be either with union?
Thanks.
EDIT: I meant 8 NOT 7
Last edited: