We know that the height of the object is given by:
To determine when the object will hit the ground we plug h=0 and solve the equation using the quadratic formula:
Since time has to be positve we conclude that the object will hit the ground when the time is 7 seconds.