The rays must fall normally on the plane mirror so that the image of the pin coincides with itself.
Hence rays, like CA and DB form a parallel beam incident on the lens.
.’. P is the position of the focus of the lens.
Distance OP equals the focal length of the lens