when you get a particle in SHM you use the cos or sin equations but thats only if there motion starts at the amplitude or the center. this one started in between them 2 though, so would the equation be x=Asin(wt + p) where p is a phase shift translation that moves the graph of its motion back to the normal sin curve so you can do all your usual calculations with the sin graph.