I was asked to define the language which is produced by the following grammar:
$G = (V, \Sigma, S, P)$
$V = \{S, A, B\}$
$\Sigma = \{a, b, c\}$
\begin{equation} P= \begin{cases} S \rightarrow cA | bB\\ A \rightarrow c \\ B \rightarrow aB|b \end{cases} \end{equation}
Obviously, you can produce $c^n$ and $b^n$, but since we can also produce $ccbab$ for example, I do not know how to find a formular for the language $L(G)$
Any help would be really appreciated!