You first have to find the height it reaches in the first 20 seconds. Vf will not be zero after 20 seconds. After 20 seconds it is coasting (like a car when you take your foot off of the gas). It will take more time for it to reach 0 m/s (maximum height).
Try solving the coasting part on your...