Step 1: Draw the path (described):
Take a triangular prism with apex angle A. Face 1 receives the incident ray at an angle 2A from the normal. Inside the glass the ray travels towards face 2, which has a silver coating. Mark the normals at both faces with dashed lines. The ray reflected from face 2 goes back along the refracted ray, so the emergent ray leaves face 1 along the incident ray, in the opposite direction.
Step 2: Geometry of the triangle:
Let the refracted ray meet face 1 at point Q and face 2 at point R. The normals to the two faces meet at a point N. In the quadrilateral with the apex and the two normal feet, the angle at N equals $180^{\circ} - A$.
In triangle QNR the angles are $r_1$, $r_2$ and $180^{\circ} - A$. So $r_1 + r_2 = A$.
Step 3: Use the retracing condition:
A ray retraces its path only if it hits the mirror at 90 degrees. So the angle of incidence on face 2 is zero, $r_2 = 0$, and $r_1 = A$.
Step 4: Refractive index:
Snell's law at face 1: $\sin 2A = \mu \sin A$.
\[ \mu = \frac{\sin 2A}{\sin A} = 2\cos A \]
For example, A = 30 degrees gives $\mu = 2\cos 30^{\circ} = 1.73$, which is a sensible value for glass.
Final Answer:
\[ \boxed{\mu = 2\cos A} \]