Here's a partial solution anyway. Assume that is the projection angle. Then if you take the ratio of the y component of the initial velocity and the x component of the initial velocity you get . So write out the x equation of motion and the y equation of motion:

Thus

From the cosine equation

so

At the moment I can't think of a way to eliminate the from this.

-Dan