Take the first coconut's starting position to be the origin, and the downward direction to be positive. The first coconut's position is determined by
![y_1=\frac12gt^2](https://img.qammunity.org/2019/formulas/physics/high-school/if6hhjyf2kn760zd60uxxwl4lye9y59ckz.png)
where
is the acceleration due to gravity.
So if it takes 2.0 s to reach the ground, then
![y_1=\frac12\left(9.8\,(\mathrm m)/(\mathrm s^2)\right)(2.0\,\mathrm s)^2=20.\,\mathrm m](https://img.qammunity.org/2019/formulas/physics/high-school/v2hwrsjkw8yb7s22tprbn6tsp0avgxmpx4.png)
(rounding to 2 significant digits)
The second coconut starts 20 m higher than the first, so its initial displacement is -20 m relative to the origin, and its overall position over time is given by
![y_2=-20.\,\mathrm m+\frac12gt^2](https://img.qammunity.org/2019/formulas/physics/high-school/s6vmigfdjv35f5t5bwskrez0nien8x85gf.png)
Reaching the ground is a matter of obtaining
, which requires a time of
![20\,\mathrm m=-20\,\mathrm m+\frac12\left(9.8\,(\mathrm m)/(\mathrm s^2)\right)t^2\implies t=2.9\,\mathrm s](https://img.qammunity.org/2019/formulas/physics/high-school/7rc25vn923hy6h1ldh71ua1gjqbzrd8u2f.png)