A transparent cylinder has its right half polished so as to act as a mirror. A paraxial light ray is incident from left, that is parallel to principal axis, exits parallel to the incident ray as shown. The refractive index n of the material of the cylinder is :

(A) 1.2
(B) 1.5
(C) 1.8
(D) 2.0