
where h(t) is the height of the watermelon, and t is time in seconds
The function can also be expressed as :

when the watermelon hits the ground, h(t) = 0, then:

we have two options:

or

The negative solution has no sense in the context of this problem, then the watermelon takes 2.5 seconds to hit the ground