Prove that the law of reflection follows from Fermat's principle by using the geometry illustrated in part (a) of the figure below. Let $x$ be the unknown location of the point where the ray from $\mathrm{P}_{1}$ to $\mathrm{P}_{2}$ reflects from a horizontal surface. (Hint: write an expression for $s$, the total optical path length, set $\mathrm{ds} / \mathrm{d} x=0$, and replace terms in the result with trigonometric functions of the angles of incidence and reflection.