you have to realise that there are different equations for motion as the particle is going up and down, so you have to solve the first, and then use this to evaluate the second. Also, for ease, you don't need mass in your equations as k is just a simple constant rather than k/m or whatever as...