I know there is a thread discussing this here but I have a problem in a different step. So let $L\subset \mathfrak{gl}(V)$ be a solvable Lie algebra over an algebraically closed field of characteristic 0. As the thread above discusses, one can follow that $\mathrm{tr}_V(ad(x)ad(y))=0$ for all $x\in [L,L]$ and $y\in L.$ So far so good. But Cartan's theorem asserts that $\mathrm{tr}_V(xy)=0$ for all $x\in [L,L]$ and $y\in L$ which is a different statement. How do I arrive there?
Edit: to clear up confusion, here is the version of Cartan's criterion we proved:

Of course the usual version of Cartan's criterion follows (see Deif's comment) , by considering the image of L under the adjoint representation. ad(L) is solvable if $tr_V(ad(x)ad(y))=0$ is zero for $x\in [L,L]$ and $y\in L$ . But then considering the exact sequence $$ 0\rightarrow Z(L)\rightarrow L \rightarrow ad(L)\rightarrow 0$$ one sees that L is solvable.