Find the time that the projectile will stay in the air for based on the vertical component and the difference between your elevation and the target elevation, and divide the distance from you to your target (ignore the z component of the positions) by that time, to get distance/time = velocity.