The figure shows a rectangular transparent medium of thickness 12 cm, one face of which is silvered. An object is placed at 10 cm from the unsilvered face and the final image is formed at 16 cm from the silvered face. Find the refractive index of the medium.