An object dropped from a height h, attains a velocity of 6ms-1 just before hitting the ground. Find the value of h.