A small ball rolls horizontally off the edge of a tabletop of height h. It strikes the floor a distance x horizontally away from the edge of the table.
(a) How long is the ball in the air?
(b) What is its speed at the instant it leaves the table? Please give your answer in terms of the given variables and g.