Answer:
When the x and y axes are set in the manner depicted in the diagram, the missile moves from point O to point A.
y = 0
uy = vo cos θ
ay = -g cos θ
t = T
Using the kinematics for the y-axis
y = uyt + 1/2 ayt2
T = 2vo cos θ/g cos θ
Using kinematics for the x-axis
x = uxt + 1/2 axt2
Solving for the distance,