The function f(x)=-2x^2+12x+32 models the approximate height of an object t seconds after it is launched. How many seconds does it take the object to hit the ground?