I was solving one of my practice questions, defining a language with Context Free Grammar Productions , but I am stuck on one question , Here are my attempt:
Question: $L = \{a^n b^m c^p \mid n = m + p + 2\}$
My Attempt:
S -> aaBC
B -> aBb | ^
C -> ? (Now how can i increase length of `a` Terminal by C as i increased from B)
Is this language not context free / impossible ?