A person sitting in the top row of the bleachers at a sporting event drops a pair of sunglasses from a height of 24 feet. The function h = −16x2 + 24 represents the height h (in feet) of the sunglasses after x seconds. How long does it take the sunglasses to hit the ground?