So, uh, is 'v' the starting velocity? And there's no friction?
Assuming that similarly to the previous problem, you're not causing any acceleration, then the only acceleration is caused by the force of gravity. I'm defining the Z axis as up.
a(t) = -G
V(t) = v - Gt
X(t) = Px + vxt, Y(t) = Py + vyt, Z(t) = Pz + vzt - Gt2/2
Assuming that we picked the right direction, there will be a time t0 for which our projectile hits the target. In that case,
X(t0) = Px + vxt0 = Tx
Y(t0) = Py + vyt0 = Ty
Z(t0) = Pz + vzt0 - Gt02/2 = Tz
Of course, we also know that vx2 + vy2 + vz2 = v2
That gives us four equations, four unknowns. We'd express t0 using v, and then find the different components of v, and thus the solution. I'd do it now, but I'd got other things to do. I'll probably get to it later.