Enter the components of x and y and see what happens to the ball.
The objective is to get the ball as near rest as possible.
X direction:
Y direction: