Now, this is what we called a problem.
Here is the grammar,
$ S \to E \mid U \mid \epsilon $
$ E \to AB \mid BA $
$ A \to ZAZ \mid a $
$ B \to ZBZ \mid b $
$ U \to ZUZ \mid Z $
$ Z \to a \mid b $
For more Explore this.
ϵ should not be derived.
AND ‘’aaba” can not be generated using this grammar though it is in the language.