Answer
See below
Work Step by Step
Given: $\frac{d^2y}{dt^2}+2\frac{dy}{dt}+y=0$
The motion is governed by the differential equation
$\frac{d^2y}{dt^2}+\frac{c}{m}\frac{dy}{dx}+\frac{k}{m}y=0$
with $\frac{c}{m}=2\\
\frac{k}{m}=1$
then $(\frac{c}{2m})^2=1$
We can see $(\frac{c}{2m})^2=\frac{k}{m}$
Thus, the oscillator is criticially damped.
The complementary function for the given equation is:
$y(t)=c_1e^{-t}+c_2e^{-t}t$
Since $y(0)=1,y'(0)=2$
We have $c_2=1,c_1=-1$
The general solution is $y(t)=-e^{-t}+e^{-t}t$