I wanted to compute $\mathrm{var}[W_te^{W_t}]$. I had no problem computing the mean, but I'm not able to do the same with the mean of the squared variable, basically the trick of putting $\mathrm{E}(W_te^{W_t})=f(t)$ (and solving the differential equation) doesn't work, I got stuck here
$\mathrm{E}[W^2_te^{2W_t}]=\int{e^{2t}dt}+4\int{\mathrm{E}[W_te^{2W_t}]dt}+2\int{\mathrm{E}[W_t^2e^{2W_t}]dt}$
(the problem is the second term on the right, it would become $f(t)/W_t$ if I put $\mathrm{E}[W_t^2e^{2W_t}]=f(t)$)
Any advice?
I would start by using Ito's formula on $f(x)=x^2 e^{2x}$. Then take the expectation, the $dWt$ disappears and you're left with the $dt$ terms.