If a material point stops, the projection of acceleration on the direction of travel is negative.
A material point moves in the negative direction of the ox axis, so the acceleration is positive.