Step-by-step explanation:
Given that,
The maximum range of a projectile is x.
Maximum range occurs when the angle of projection is 45°. Using formula for maximum range.

According to the question,
...(1)
Maximum height,

From equation (1).

Hence, this is the required solution.