Given. An overdamped second-order system at rest, forced by a unit-height square pulse active only on $1\le t<2$.
Find. The response $y(t)$ for all $t\ge0$.
Approach. Write the pulse as a difference of unit step functions, $r(t)=u(t-1)-u(t-2)$, transform with zero initial conditions, and use the second shifting theorem to invert.
Laplace-transform the equation. With $y(0)=y'(0)=0$ and $\mathcal L\{u(t-a)\}=e^{-as}/s$:
$$\big(s^2+3s+2\big)Y(s)=\frac{e^{-s}-e^{-2s}}{s}\ \Rightarrow\ Y(s)=\frac{e^{-s}-e^{-2s}}{s(s+1)(s+2)}.$$
Note $s^2+3s+2=(s+1)(s+2)$.
Partial fractions of the transfer factor.
$$\frac{1}{s(s+1)(s+2)}=\frac{1/2}{s}-\frac{1}{s+1}+\frac{1/2}{s+2}.$$
Invert the unit-step response $h(\tau)$. This is the response to a single unit step at $t=0$:
$$h(\tau)=\frac12-e^{-\tau}+\frac12e^{-2\tau},\qquad\tau\ge0.$$
Apply the second shifting theorem. Since $Y(s)=\big(e^{-s}-e^{-2s}\big)H(s)$, the time response is $y(t)=h(t-1)u(t-1)-h(t-2)u(t-2)$:
$$\boxed{y(t)=\begin{cases}0,&0\le t<1\\[2pt]\dfrac12-e^{-(t-1)}+\dfrac12e^{-2(t-1)},&1\le t<2\\[4pt]\left[e^{-(t-2)}-e^{-(t-1)}\right]+\dfrac12\left[e^{-2(t-1)}-e^{-2(t-2)}\right],&t\ge2\end{cases}}$$
(the $t\ge2$ branch is $h(t-1)-h(t-2)$ expanded and simplified; the constant $\tfrac12-\tfrac12=0$ terms cancel).
(Check: substituting the middle branch back into $y''+3y'+2y$ on $1<t<2$ reproduces the forcing $1$; the solution and its derivative are continuous at $t=1$ (both start at $0$) and the full expression matches a direct Laplace inversion of $Y(s)$.)