A particle $P$ is projected with speed $u\,\mathrm{m\,s^{-1}}$ at an angle $\theta$ above the horizontal from a point $O$ on a horizontal plane and moves freely under gravity. The horizontal and vertical displacements of $P$ from $O$ at a subsequent time $t$ seconds are denoted by $x$ metres and $y$ metres respectively.
(a) Show that the equation of the trajectory is given by $$y=x\tan\theta-\frac{gx^2}{2u^2}(1+\tan^2\theta).$$ [4]
In the subsequent motion $P$ passes through the point with coordinates $(30,20)$.
(b) Given that one possible value of $\tan\theta$ is $\frac43$, find the other possible value of $\tan\theta$. [5]