In order to determine if the shot is made, consider that the ball describes a parabolic motion.
Then, use the following formula for the maximum height reached by the ball:
where, in this case:
vo: intial speed of the ball = 6m/s
θ: launch angle = 60
g: gravitational acceleration constant = 9.8m/s^2
Replace the previous values of the parameters into the formula for the maximum height:
As you can notice, the previous result is a little higher than the height of the hoop, then, you can conclude that the ball will travel high enough to reach the hoop.
Now, consider that the horizontal distance traveled by the ball when it reaches the maximum height is: