Show that the phase shifts $\phi$ (for the even-parity stationary state) and $\phi^{\prime}$ (for the odd-parity state) that are associated with scattering by a
classically allowed region of potential $V_{0}$ and width $2 a$, satisfy $\tan (k a+\phi)=-(k / K) \cot (K a) \quad$ and $\quad \tan \left(k a+\phi^{\prime}\right)=(k / K) \tan (K a)$ where $k$ and $K$ are, respectively, the wavenumbers at infinity and in the scattering potential. Show that
$$
P_{\mathrm{refl}}=\cos ^{2}\left(\phi^{\prime}-\phi\right)=\frac{(K / k-k / K)^{2} \sin ^{2}(2 K a)}{(K / k+k / K)^{2} \sin ^{2}(2 K a)+4 \cos ^{2}(2 K a)}
$$
Hint: apply the cosine rule for an angle in a triangle in terms of the lengths of the triangle's sides to the top triangle in Figure $5.23$.