$\newcommand{\erf}{\operatorname{erf}}$
Find the solution $u(x,t)$ to
\begin{align}
&u_t=u_{xx} && -\infty<x<\infty, \ t>0,\tag{1}\\[2pt]
&u|_{t=0}=\left\{\begin{aligned} &x &&|x|<1,\\ &0 &&|x|\ge 1,\end{aligned}\right.\tag{2}\\
&\max |u|<\infty.\tag{3}
\end{align}
Calculate the integral.
Hint: For $u_t=ku_{xx}$ use
\begin{equation}
G(x,y,t)=\frac{1}{\sqrt{4\pi kt}}\exp (- (x-y)^2/4kt).
\tag{4}
\end{equation}
To calculate integral make change of variables and use $\erf(x)=\frac{2}{\sqrt{\pi}}\int_0^x e^{-z^2}\,dz$.