Answer:
The angle the projectile was fired is

Step-by-step explanation:
Recall the formulas for maximum height and ranges for a projectile fired with initial velocity "v" at an angle
:

we can use them to solve for the angle by first isolating the value
which is common in both equations:

and now, making those to expressions equal and using the formula for the sine of a double angle, we get:

This happens when