A particle $P$ is projected with speed $24\,\mathrm{m\,s^{-1}}$ at an angle $\theta^\circ$ above the horizontal from a point $O$ on a horizontal plane, and moves freely under gravity. At a horizontal distance $35$ metres from $O$, there is a vertical wall of height $10$ metres which is perpendicular to the vertical plane of motion of $P$.
(a) Determine the two values of $\theta$ for which $P$ just clears the wall. [4]
(b) Given that $P$ clears the wall, find the minimum distance from point $O$ where $P$ can land. [2]