Answer:
The height of the object as a function of time is given by:
.....[1]
where,
h(t) is the height of the object t second after it is thrown.
v is the initial velocity
h is the initial height.
As per the statement:
Ted throws an object into the air with an initial vertical velocity of 54 feet per second from a platform that is 40 feet above the ground
⇒v = 54 ft/sec and h = 40 feet above the ground.
Substitute in [1] we have;

we have to find how long will it take the object to hit the ground.
Substitute h(t) = 0
then;

⇒

Factorize this equation:

⇒

⇒

By zero product property we have;
t-4 = 0 and -8t-5 = 0
⇒t = 4 and -8t = 5
⇒ t= 4 and t = - 0.625
Since, time cannot be in negative;
⇒ t= 4 sec
therefore, 4 seconds will it take the object to hit the ground