i know it should be easy but i must be doing something stupid incorrectly because the answer i got was wrong
just differentiate both sides. the left side becomes $\displaystyle \frac {d^2x}{dt^2}$ and the right side becomes $\displaystyle \text{derivative of}(9x \cos x)~\frac {dx}{dt}$