Is this correctly CFG for this language?

49 Views Asked by At

$$ L = \{ a^{2n}w \mid |w| = n\},\ \Sigma=\{ a,b \} $$

My CFG: $$ S \to \epsilon\mid aaST \\ T\to a \mid b $$

My lecturer wrote this is wrong because $w$ but I don't understand why.