A ray of light strikes a plane mirror at an angle of $30^{\circ}$ as shown in the figure. After reflection, the ray passes through a prism of refractive index $1.5$ whose apex angle is $4^{\circ} .$ The total angle through which the ray deviates is
(a) $90^{\circ}$
(b) $270^{\circ}$
(c) $145^{\circ}$
(d) $122^{\circ}$