Assuming a series solution of $f(x)$ exists around $a=0$, then
$$ f(x) = \sum_{n=0}^\infty \frac{f^{(n)}(0)}{n!}x^n $$
So to find the coefficient of $x^3$, you just need to find $f'''(0)$.
First, observe from the equation that $f''(0)=0$. Differentiate throughout to get
$$ y''' - y''\sin x - y'\cos x + xy' + y = 0 $$
which gives
$$ y'''(0) = y'(0)-y(0) = 1 $$
Hence the answer is $\dfrac{1}{3!} = \dfrac16$