Answer
See the figure below.
Work Step by Step
It is obvious, especially from the velocity and acceleration versus time graphs, that the ball motion has 4 stages.
In the first stage, the ball moves toward the origin from the west and it is slowing down.
In the second stage, the ball moves at a constant speed for a while.
In the third stage, the ball starts to slow down again but at a higher rate than that of the first case.
And final, in the fourth stage, the ball moves at a constant speed that is less than that of the first stage and it reaches the origin at which $S=0$.
It seems that the ball moves up on a tilted plane (an inclined surface), then moves in a straight line, then moves up another tilted plane with a greater angle with the horizontal which makes its acceleration in the third stage greater than that of the first stage. And finally, it moves on a straight surface again.
The three surfaces are assumed to be frictionless.
See the figure below.