Define $X_t=\int^t_0 W_s^2ds$, what will be the distribution of $X_t$? My approach is as follow: Let $f(s)=W_s^2s$, by Ito's lemma we have $X_t=W_t^2t-2\int^t_0W_ssdW_s-\frac{t^2}{2}$.
Discretize the integral $\int^t_0W_ssdW_s$, gives $lim_{n\rightarrow\infty}\sum_{i=1}^{n}((W_{t_i}-W_{t_{i-1}})^2\times(t_{i}-t_{i-1}))$, which is an infinite sum of iid gamma dist. What is the distribution ?
Overall, what is the distribution of $X_t$ ?
Out of Borodin and Salminen Handbook of Brownian Motion - Facts and Formulae:
$$ E_x\left[\exp\left(-\frac{\gamma^2}{2} \int_0^t W_s^2 ds \right) \right] = \frac{1}{\sqrt{\cosh(t\gamma)}}\exp\left( -\frac{x^2\gamma \sinh(t\gamma)}{2 \cosh(t\gamma)} \right) $$
You can obtain it by using Girsanov's theorem. Really nifty formula when $x=0$. I also recommend Yor and Pitman on all matters dealing with Bessel processes.