Consider a finite dimensional Lie algebra $\mathfrak g$ and let $D$ be an invertible derivation of $\mathfrak g$. Prove that $\mathfrak g $ is nilpotent.
For any $X\in \mathfrak g$, we can write $ad (DX) = [D,ad(X)].$
Since exists $D^{-1}$, we see that $ad(X) = ad(D^{-1}DX) = [D^{-1},ad(DX)].$ So for any $X$, $ad(X)= [D^{-1},ad(DX)]$.
How can I proceed from here? I guess that I must eventually use Engel theorem.