The correct option is D 20 s
Potential energy is maximum at the extreme position and minimum at the mean position.
At mean position all P.E gets converted to kinetic energy i.e. v=vmax
⇒ time to go from extreme position to mean position is t = T4.
Where T is time period of SHM.
So, from question,
So, (d) is the correct answer.