The equation y = -2x2 + 6x + 36 represents the height of a projectile over time, where y represents the height, in feet, and x represents the time, in seconds. After how many seconds will the projectile hit the ground?