I am trying to provide a grammar for the above language, but keep running into the same issue. So far I have this:
$S \rightarrow AB | \epsilon$
$A \rightarrow aAc | \epsilon$
$B \rightarrow bBc | \epsilon$
but these productions produce words like $acbbcc$, when it should be $abbccc$.
I feel as though I am very close but need some advice of how to sort this issue out.