Total energy of the particle, E = 1 J
Force constant, k = 0.5 N m–1
Kinetic energy of the particle, K =1/2mv2
According to the conservation law:

At the moment of ‘turn back’, velocity (and hence K) becomes zero.
1=1/2kx2

Hence, the particle turns back when it reaches x = ± 2 m.