I have to create the productions for a CFG that follows
$$\{a^ib^jc^k : j = i + k\}$$
I can get close to the answer. I found
$$\begin{align*} &A\to aAb \mid B\\ &B\to bBc \mid \epsilon \end{align*}$$
but that allows c's in the wrong place. I need help creating the productions.