At the extreme position, velocity is zero but acceleration is maximum in simple harmonic motion. How can you theoretically explain it?

In SHM, acceleration is given by . At the extreme position, displacement is maximum, making acceleration maximum. Since velocity is the rate of change of displacement, it becomes zero at the turning points.