Determine the equation of motion

x(t) = 0 if the object is at rest where it started.

Don't you think you need to specify a bit more abut the situation?