I'd start off by writing Newtons law for the projectile
F=ma
since the force is gravity we have F=mg and so for the y axis
a=g
you can either solve this differential equation or look up the solution, it should be in any intro physics textbook, and you'll find that the y position of the particle is;
[itex]y=a_0+a_1t+\frac{g}{2} t^2[/itex]
and for the x position you'll find;
[itex]x=b_0+b_1t[/itex]
you'd then set [itex]a_0 = b_0 = 0[/itex] to make the projectile be launched from the origin of co-ordinates
you set the velocity as V Sin and V Cos, which gives you;
[itex]y=V Cos( \theta ) t + \frac{g}{2} t^2[/itex]
[itex]x=V Sin( \theta )t[/itex]
so you now have to equations which you can solve, given some time you want to hit the target at, for V and theta
[itex]Tan( \theta )=\frac{x}{y-\frac{g}{2}t^2}[/itex]
[itex]\theta = arctan(\frac{x}{y-\frac{g}{2}t^2})[/itex]
where x and y are the x and y of the target
and you can substitute your theta back into find the V
if you already had the angle theta (I couldn't tell from your OP) you can put it in the tan equation and solve for t, then sub that into the x equation to get v
good luck!