For first particles angle of projection from the hortizontal is `prop`.
So `T_1 = (2usinprop)/(g)`
For second particle, angle of projection from the vertical is `prop`. it mean from the horizontal is `(theta - prop)`
`therefore T_(2) = (2 u sin(90 - prop))/(g) = (2 u cos prop)/(g)`
So, ratio of time of flight `(T_1)/(T_2) = tan prop`.