Hi I am not good at physics math… Please bare with me and help me with this question

I have a launch function that requires a launch vector(Vec3) and a launch force(float).

Today, I have the start point and the end point for the trajectory, how do I calculate the launch vector and launch force for the trajectory?

Note1: The time can be fixed.

Note2: The start point and the end point have different height (z). The end point is always higher.

I am working on a basketball shooting game.

I will really really appreciate any help! Thanks!!