How to bend tube so it's ends fit given positions?
Its not the precise awnser to your question using "curves".

I suggest you use the "spin tool" to get the desired "precise" effect and control.

Add a circle.



In front view.

Go to edit mode.

Move the circle to which point you want.



Press spin. (It wil spin around the midpoint as centerpoint)



And adjust your desired settings.