The extreme positions of the given pendulum are B and C. The centre position is A.
(a) Maximum potential energy is at B and C because at these two positions, the bob is at maximum height from ground. Kinetic energy at these points is zero.
(b) Maximum kinetic energy is at A because at this position, the bob has maximum velocity. Potential energy at this point is zero.