A projectile is fired up from the surface of the earth with initial velocity $(u_0, v_0)$. Under the influence of constant vertical acceleration −g the projectile reaches height $h_{max}$ and then falls back to earth. Neglecting air resistance, show that the fraction of time during its trajectory that the projectile spends above height $h_1$ is $|v_1|/v_0$, where $(u_1, v_1)$ is the projectile’s velocity vector at height $h_1$. Assume that $0 ≤ h_1 ≤ h_{max}$
I am having trouble solving this because I can't figure out the time the projectile is in the air without a function being given. Or would I not even need that to determine the time it is above $h_1$? Thanks for the help!