The acceleration sign is bound to the displacement sign. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Positive displacement gives negative acceleration
At the right endpoint, position is 4 metres and the acceleration value is negative 4.
x=4m⇒a=−4
Negative displacement gives positive acceleration
At the left endpoint, position is negative 4 metres and acceleration is positive 4.