So I was trying to solve the CFG,
$$\{w \in (0,1)^* \mid w \text{ contains at least three 1's}\}$$
My approach:
I decided that a string can begin with a $0$, end with a $0$, it may begin with a $1$, ended with a $1$, begin with a 0 end with a $1$, or begin with a $1$ and end with a $0$.
This culminates to:
$S \to 0S0 \mid 1S0 \mid 0S1 \mid 1S1 \mid 111$