Click the link to see the solution!:
https://docs.google.com/document/d/1M9Z8Fjg6MhK4bscHE_s_6NQ1K_TbpstmQAUbdmp0klM/edit?usp=sharing
I love problems like this because it involves setting up a graph or at least an equation, which I find interesting. I also love that the problem gives mathematics a real-world sports application, as this can be applied to anything, shooting a basketball, hitting a baseball, etc.