If you know the maximum height something reaches, then you can figure out how long it took to get up there and how long it takes to fall back down. These two times should be equal and are half of the total trip time (assuming the object takes off and lands at the same height).
If the object starts from rest,
The change in height = ½ at^2,
Where a is the acceleration due to gravity (-9.81 m/s^2) and t is the time.
If you know the max height of the object, calculate how long it takes to fall back down to earth, then double it to get the total trip time.
As long as we are on the subject of falling back down to earth, we also know that the objects final downward speed when hitting the ground will be the same as its initial upward speed when taking off. So to calculate the initial and final Y velocity,
V = a*t, where a is again the gravitational acceleration and t is the time the object accelerates which you just found earlier.
Now that you know the total trip time of the object, and you also know the X distanced traveled, you can compute its initial X velocity,
v = distance / time
Now if you want to go even further and get the initial velocity and the angle above the horizon it was pointed at, you can use the Pythagorean theorem,
v = sqrt(v_x^2 + v_y^2),
the angle above the horizon will be,
arctan (v_y / v_x)