[step:Define the bracket notation and the quotient bracket]
For $k$-linear subspaces $A,B \subseteq \mathfrak g$, define
\begin{align*}
[A,B] := \operatorname{span}_k\{[a,b]_{\mathfrak g} : a \in A,\ b \in B\}.
\end{align*}
Because $I \trianglelefteq \mathfrak g$, the quotient [vector space](/page/Vector%20Space) $\mathfrak g/I$ is a Lie algebra with bracket
\begin{align*}
[\cdot,\cdot]_{\mathfrak g/I}: (\mathfrak g/I)\times(\mathfrak g/I) &\to \mathfrak g/I,\\
(x+I,y+I) &\mapsto [x,y]_{\mathfrak g}+I.
\end{align*}
This is well-defined because if $x'-x \in I$ and $y'-y \in I$, then
\begin{align*}
[x',y']_{\mathfrak g}-[x,y]_{\mathfrak g}
&= [x'-x,y]_{\mathfrak g}+[x,y'-y]_{\mathfrak g}+[x'-x,y'-y]_{\mathfrak g}
\in I,
\end{align*}
using $[I,\mathfrak g]_{\mathfrak g}\subseteq I$, $[\mathfrak g,I]_{\mathfrak g}\subseteq I$, and $[I,I]_{\mathfrak g}\subseteq I$.
[/step]