I am trying to find the minimum of the following problem $$\frac{\theta}{2}\lVert\beta-x\rVert_2^2+\lambda\lVert x\rVert_2-\frac{1}{2\tau}\lVert x\rVert_2^2+\alpha^Tx$$
by taking the derivative with respect to $x$ and setting it to zero, I have $$-\theta(\beta-x)+\lambda\frac{x}{\lVert x\rVert_2}-\frac{1}{\tau}x+\alpha=0$$
I have trouble solving the problem because I have $\lVert x\rVert_2$ in my solution.