A simple pendulum oscillates freely between points A and B.
We now put a peg (nail) at some point C as shown. As the pendulum moves from At to the right, the string will bend at C and the pendulum will go to its extreme point D. Ignoring friction, the point D.