A rock is thrown from the top of a tall building. The distance, in feet, between the rock and the ground x seconds after it is thrown is given by f(x) = -16x² - 4x + 382. a. How long after the rock is thrown is it 340 feet from the ground? b. When will the rock hit the ground?