How do I tackle this question:

A particle P of mass 0.3kg is hanging in equilibrium attached to one end of a light elastic string of natural length (l) of 0.6m and modulus (

) 9N. P is pulled downwards a further 0.4m and released. Calculate the time that elaspses before the string becomes slack, and the further time before the string is taut once more.

For the first part of this question, I tried to solve it as follows:

At equilibrium:

where T is the tension in the string; and e is the extension at equilibrium.

I found that e=0.196m

And when P was pulled down a further 0.4m

Using F=ma I obtained

after substituting in the values I got:

where x is the extension of the string.

Mr F says: You've forgotten the weight force down, chum. The equation of motion is

, subject to the initial condition t = 0, and x = 0.196 + 0.4 = 0.596 m (see main reply).

Note: x is the extension of the string measured from the unstretched position (position of zero extension), not the equilibrium position.
Then I tried to use the equation

where A is the amplitude, t is time.

When the string becomes slack, the extension is equal to the amplitude A, so I obtain the equation

giving me t=0.222s, but the answer in my book is 0.295s.

Where have I gone wrong? Any help would be greatly appreciated.