Mathematics (curves)

Hi there! I can’t pinpoint or make up a set of calculus to determine the right formula which describes a curve that goes through 3 specific points…

Do I express myself correctly? I’ll try to say it with a more hand-on approach. I have a spaceship which can move vertically, located to the left. The enemies, obviously, arrive from the right. Now, when i click anywhere on the scene, I want a missile/plasma orb/projectile to be shot from the spaceship, but doing more than going in a straight line: imagine 3 points, one at the spaceship, one in front (therefore to the right) of the spaceship (5/10 units in front) and the third at the click location. How do I determine the formula of the curve that goes along these three points?