A particle moves along an -axis, use the given information to find the position function of the particle.