So I have a particle that is moving along the x-axis. I have the acceleration equation, the velocity equation, and the position equation. I need to know what is the first time when t>0 that the particle returns to the origin?

My position function is x(t)=-cost-.5t+1