If the trebuchet launches the stones with a velocity of +30.0 m/s at an angle of 50.0 degrees, how long does it take the stone to hit the ground?

If the trebuchet launches the stones with a velocity of +30.0 m/s at an angle of 50.0 degrees, how long does it take the stone to hit the ground? What is the maximum distance that the trebuchet can be from the castle wall to be in range? How high will the stones go?