Just a quick question. I'm trying to find the solution of the following differential equations satisfying the given conditions:

My general solution was: $x= (A\cos t +B\sin t)e^{-3t}$. I think I'm going wrong on the differentiation.
Is the differential $x'= -3(A\cos t +B\sin t)e^{-3t}.(-A\sin t+B\cos t)$ ?
I'm supposed to get an $A$ value=1 (which I got using the above calculation) and a $B$ value=3 (but I keep getting a $B$ value of 0)
Does anybody understand where I'm going wrong?
Many thanks