There is really one main factor that contributes to this.
- Your entrance angle
Because you are just a beginner computing the angle with speed takes complex math and will not make your return angle much different. (unless you're traveling at like 500 MPH)
Your entrance angle is found by your offset from the center. In this example I will show you two scenarios. And the general math that you need to implement in your game.
First Scenario: A line
Let's go back to geometry. A line adds up to 180 degrees.
Because it is straight, no matter what your speed is, the angle you enter equals the angle you exit. If your ball enters at 0 then your ball will exit at 0.
As you see in the picture the ball will return and exit at the same angle.
So the math?
if enter angle is 0 then exit angle is 0
What if it doesn't enter in a straight line?
Because your return surface is a straight line, your entrance angle is again going to equal your exit angle.
But what if your return surface is not a straight line?
Well, the angle of your return surface is needed.
By adding the angle of your return surface to your entrance angle you will get your exit angle.
So there are our basic calculations of entrance and exit angles WITHOUT speed. (Again, unless you're traveling at 500MPG your speed will not make a huge difference.)
Based on your picture you will need to have separate line data to calculate your return.
I really hope I gave you a general idea on calculating your return angle. And I hope the pictures gave you a visualization to help you understand more. Good Luck :)