$$
x=20 \mathrm{~cm}=0.2 \mathrm{~m}, \mathrm{k}=15 \mathrm{~N} / \mathrm{m}, \mathrm{m}=0.3 \mathrm{~kg} .
$$
$$
\begin{aligned}
&\text { Acceleration } a=\frac{F}{m}=\frac{-k x}{x}=\frac{-15(0.2)}{0.3} \\
&=-\frac{3}{0.3}=-10 \mathrm{~m} / \mathrm{s}^{2} \text { (deceleration) }
\end{aligned}
$$
So, the acceleration is \(10 \mathrm{~m} / \mathrm{s}^{2}\) opposite to the direction of motion