A few things you need to know:
- The period $T$ is related to the angular frequency $\omega$ by $T\cdot
\omega = 2\pi$.
- In the formula $a=-\omega^2 X$, $X$ represents the distance from the midpoint or equilibrium position of the oscillator.
In your problem, you are given $T$, so you can use the first piece of information above to calculate $\omega$. Then you can take that value of $\omega$ and use it in the second piece of information to find the acceleration when $X=50mm$.
Finally, be careful when rounding. If you round prematurely or too aggressively, you will end up with substantial error in your answer. (In this case, your answer of $-0.5 m/sec$ is very close to the correct result, but seems to be an example of overly-aggressive rounding.)