Here is the exam question that I am practicing:

I have completed the first two parts to this question (thankfully to stackexchange)
Laplace question continued (partial fractions)
With regards to the third part, I am confused as to how to approach it. Do I need to find the inverse using partial fractions?
I have been stuck on this for a very long time and any sort of help is hugely hugely appreciated! Thank you.
For the third part, note that we know that: $$\mathcal{L}(t)=\frac{1}{s^2},~~\mathcal{L}(\cos t)=\frac{s}{s^2+1},~~\mathcal{L}(\sin t)=\frac{1}{s^2+1}$$ so $$x(t)=\mathcal{L}^{-1}(X(s))=\mathcal{L}^{-1}\left(\frac{1}{s^2}+\frac{s}{s^2+1}-3\frac{1}{s^2+1}\right)=t+\cos t-3\sin t$$