Since there is no external force acting on the ball, the only force that generates acceleration is the weight force of the ball.
Since the ball is inclined in a 10° angle, the component of the weight that will generate acceleration in the direction of the movement is:

Therefore the ball acceleration is 1.7 m/s² down the ramp (opposing the initial movement).
Since the initial speed is 1 m/s and the final speed up the ramp is 0, we can use Torricelli's equation to find the displacement:

Therefore the displacement is 0.2941 meters.