My head hurts after looking at that
Step 1: Ball Aim - Random place on goal (might try and add some logic to this)
Step 2: Calculates Blue Circle based on shot distance and shot speed
Step 3: Calculates Red Circle by using a Random Number Generator with max number being the blue area diameter. So in above example 0 to 4, resulting in the red circle radius of 1.2 yards
Step 4: Reduces the Red Circle by removing the Player Rating (theres a small calculation here)
Step 5: Picks a direction for the ball to travel in, this example was 226 degrees. But the ball basically can be placed anywhere around the circumference of the green circle.