First, we consider $y''+6y'+10y=0$
$$r^2+6r+10=0$$
$$∴r=-3\pm i$$
$$∴y_c(t)=C_1e^{-3t}\cos t+C_2e^{-3t}\sin t$$
Second, we consider $y''+6y'+10y=5e^{-3t}$, let $$y_{p1}(t)= Ae^{-3t}, y'_{p1}(t)=-3Ae^{-3t}, y''_{p1}(t)=9Ae^{-t}$$
$$9Ae^{-3t} -18Ae^{-3t}+10Ae^{-3t} =5e^{-3t}$$
$$∴A=5$$
$$∴y_{p1}(t)= 5e^{-3t}$$
Third, we consider $y''+6y'+10y=13\cos t$ , let $$y_{p2}(t)= B\cos t+C\sin t, y'_{p2}(t)= -B\sin t+C\cos t,y''_{p2}(t)= -B\cos t-C\sin t$$
$$∴-B\cos t-C\sin t+(-B\sin t+C\cos t)+10(B\cos t+C\sin t)=13\cos t$$
$$∴9C-6B=0, 9B+6C=13 $$
$$∴ B=1, C=\frac{2}{3}$$
$$∴y_{p2}(t)= \cos t+\frac{2}{3}\sin t$$
Therefore,
$$y(t)=y_c(t)+y_{p1}(t)+y_{p2}(t) =C_1e^{-3t}\cos t+C_2e^{-3t}\sin t+5e^{-3t}+\cos t+\frac{2}{3}\sin t$$