Let $L$ be a three dimensional Lie algebra. $L'$ be the derived algebra with $\dim(L') = 2$. Define the following - $$ L^{(1)} := L' , \space L^{(n)} := [ L^{(n-1)}, L^{(n-1)}] $$
How do I find the smallest $m \in \mathbb{N}$ such that $ L^{(m)} = 0$ ?
Let $y,z$ be a basis of $L'$. It suffices to show that $[y,z]=0$ (why?). Since $[y,z]\in L'$, $[y,z]=\alpha y+\beta z$. Now write the matrix of $\text{ad}_y$ w.r.t. to a basis $\left\{x,y,z\right\}$ of $L$. You should find that $\text{Tr}(\text{ad}_y)=\beta$. Since $y\in L'$, $\text{Tr}(\text{ad}_y)=0$ (why?). Do the same argument for $\text{ad}_z$ and conclude that $\alpha=0$. What does this tell you about the minimal $m$?