The problem is a homemade rocket, with an initial speed of 20m/s only in the y axis. Yo want to know the maximun high it can reach and the time it takes to reach that high
The speed diagram is the next one:
Solution

The final speed is 0 because is when it reach the maximum high

![\begin{gathered} v^2_f=v^2_0-2gd \\ \frac{-\sqrt[]{20^2}}{-2\cdot9.81}=1.02m=d \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/acer189w19aj186yjogauvf9hpx7in2f19.png)