Making some constants

Just for easier use. Also as an aside, now looking back on this J doesn't seem necessary because (Y - Yo) is already contained in parenthesis so it shouldn't matter if it get's changed into a constant or not.
Quadratic equation time!

We now have put this equation into where we can take it and put it into the quadratic equation.
And for ease

We just use the variables that we defined earlier just so that transitioning it into code will be easier.
Important stuff [READ]: If you take only the part under the square root sign, you can find out if it will reach the hoop or not. If it is less than zero, than it will not reach it, but if it is greater than zero it will reach it.
Hope this helps you if you're stuck. Also if you see a miscalculation please don't hesitate to call us out on it!