\(\pi< x< \dfrac{3\pi}{2}\Rightarrow\left\{{}\begin{matrix}sinx< 0\\cosx< 0\end{matrix}\right.\)
\(\Rightarrow sinx=-\sqrt{1-cos^2x}=-\dfrac{4}{5}\)
\(\Rightarrow tanx=\dfrac{sinx}{cosx}=\dfrac{4}{3}\) ; \(cotx=\dfrac{1}{tanx}=\dfrac{3}{4}\)
\(P=\dfrac{4}{3}+\dfrac{3}{4}=\dfrac{25}{12}\)