Solve by the method of characteristics the BVP for a wave equation
\begin{align}
&4 u_{tt}- u_{xx}=0,\qquad 0<x<\infty , \; t>0\label{1-1}\\[2pt]
& u(x,0)=f(x),\label{1-2}\\[2pt]
& u_t(x,0)=g(x),\label{1-3}\\[2pt]
& u (0,t)= h(t)\label{1-4}
\end{align}
with $f(x)=2xe^{-2x^2}$, $g(x)=0$ and $h(t)=te^{-t^2/2}$.