The function h is defined as:

To find the away from the basket should the player stand in order for the ball to go within the basket set h(x)=10 and solve for x.
Therefore,

Multiply both sides by -2:

Factorizing we have,

Hence,

The value x=2 gives the distance the ball is from the player when it is on its way up and at 10 ft high while the value x=4 gives the distance the ball is from the player when it is on its way down and at 10 ft high.
Therefore, the required distance is 4 ft.
.