Modeling a projectile's motion

Been stumped on this for a while, your current inputs are the time it takes, and the target position. How would one switch it up to determine the velocity using the angle of velocity, and the target position. Im sure its probably very simple once you understand the maths behind it, but I don’t…