Sorry, my previous comment was intended for
@daphnelee-mh , but maybe you inherited the same error.
Indeed, you were using mm as measured from the picture. Did you scale g accordingly?
You don't need to break it into two stages. The equation at the end of post #9 (even when corrected) gives a unique positive value for v. Yes, in principle the solution should be checked as having a negative vertical velocity on reaching the basket, but looking at the picture, if the measurements have been accurately transcribed then it is pretty clear the ball cannot end up going upwards through the it.
What made you conclude such was the solution found?