(a) The distance of an object from a concave mirror is increased from $12\,\text{cm}$ to $15\,\text{cm}$. It is observed that the new image becomes $\left(\dfrac{2}{5}\right)^{\text{th}}$ the size of the initial image. Calculate the focal length of the mirror.
(b) A light ray is incident on the horizontal upper face of a glass cube making an angle of $45^\circ$ with the face. While emerging, the ray just grazes the vertical face of the cube. Find the refractive index of the glass.