Figure P.6.29 shows two identical concave spherical mirrors forming a so-called confocal cavity. Show, without first specifying the value of $d$, that after traversing the cavity two times the system matrix is
$$
\left[\begin{array}{cc}
\left(\frac{2 d}{r}-1\right)^{2}-\frac{2 d}{r} & \frac{4}{r}\left(\frac{d}{r}-1\right) \\
2 d\left(1-\frac{d}{r}\right) & 1-2 \frac{d}{r}
\end{array}\right]
$$
Then for the specific case of $d=r$ show that after four reflections the system is back where it started and the light will retrace its original path.