The equation in question is $x^x=4x^2$, which can be rearranged to $x^{x-2}=4$.
Using other methods, I know the two real solutions are approximately $3.193826160$ and $0.4166376811$, but I would quite like to know how to calculate the exact forms, since using limits and spamming the $=$ button on a calculator until the number stops changing isn't particularly efficient, and may not even work for other similar equations.
I know that the Lambert $W$ function is likely involved, but I don't know how to rearrange equations into the necessary form to use it and answers to other questions on this site haven't been able to help that lack of understanding, unfortunately.
For simplicity, I give an answer for solutions in the reals.
$$x^x=4x^2$$
Your equation is an equation of elementary functions. It's an algebraic equation in dependence of $x^x$ and $x$. Because the terms $x^x,x$ are algebraically independent, we don't know how to rearrange the equation for $x$ by only elementary operations (means elementary functions).
I don't know if the equation has solutions in the elementary numbers.
Your equation cannot be solved in terms of Lambert W but in terms of Generalized Lambert W.
$$x^x=4x^2$$ $$e^{x\ln(x)}=4x^2$$ $$x\ln(x)=\ln(4x^2)$$ $$x\ln(x)=2\ln(2)+2\ln(x)$$ $x\to e^t$: $$te^t=2t+2\ln(2)$$ $$\frac{t}{t+\ln(2)}e^t=2$$
We see, the equation isn't in a form for applying Lambert W.
But we can apply Generalized Lambert W.
$$\frac{t}{t-(-\ln(2))}e^t=2$$ $$t=W\left(^{\ \ \ \ \ \ 0}_{-\ln(2)};2\right)$$ $$x=e^{W\left(^{\ \ \ \ \ \ 0}_{-\ln(2)};2\right)}$$
The inverse relation of your kind of equations is what Mezö et al. call $r$-Lambert function. They write: "Depending on the parameter $r$, the $r$-Lambert function has one, two or three real branches and so the above equations can have one, two or three solutions"
So we have a closed form for $x$, and the representations of Generalized Lambert W give some hints for calculating $x$.
[Mező 2017] Mező, I.: On the structure of the solution set of a generalized Euler-Lambert equation. J. Math. Anal. Appl. 455 (2017) (1) 538-553
[Mező/Baricz 2017] Mező, I.; Baricz, Á.: On the generalization of the Lambert W function. Transact. Amer. Math. Soc. 369 (2017) (11) 7917–7934 (On the generalization of the Lambert W function with applications in theoretical physics. 2015)
[Castle 2018] Castle, P.: Taylor series for generalized Lambert W functions. 2018