(a) Prove that the linear transformation associated with the improper orthogonal matrix $\left(\begin{array}{rr}\cos \theta & \sin \theta \\ \sin \theta & -\cos \theta\end{array}\right)$ is a reflection through the line that makes an angle $\frac{1}{2} \theta$ with the $x$-axis.
(b) Show that the composition of two such reflections, with angles $\theta, \varphi$, is a rotation.
What is the angle of the rotation? Does the composition depend upon the order of the two reflections?