Potential energy is maximum and equal to total energy at extreme position
i.e
Potential energy is minimum at mean position
i.e
Kinetic energy is maximum at the mean position and equal to total energy at the mean position.
i.e
Kinetic energy is minimum at the extreme positions.
i.e
So when we move from extreme position to mean position, kinetic energy will increase and potential energy will decrease.