P= (\(\frac{3\sqrt{a}}{\sqrt{a}+4}+\frac{\sqrt{a}}{\sqrt{a}-4}+\frac{4\left(a+2\right)}{16-a}\)):\(\left(1-\frac{2\sqrt{a}+5}{\sqrt{a}-4}\right)\)
=\(\left(\frac{3\sqrt{a}\left(\sqrt{a}-4\right)}{a-16}+\frac{\sqrt{a}\left(\sqrt{a}+4\right)}{a-16}-\frac{4a+8}{a-16}\right):\left(\frac{\sqrt{a}-4-2\sqrt{a}-5}{\sqrt{a}-4}\right)\)
= \(\left(\frac{3a-12\sqrt{a}+a+4\sqrt{a}-4a-8}{a-16}\right):\left(\frac{-\sqrt{a}-9}{\sqrt{a}-4}\right)\)
=\(\left(\frac{-8\sqrt{a}-8}{a-16}\right).\left(\frac{\sqrt{a}-4}{-\sqrt{a}-9}\right)=\frac{8\sqrt{a}+8}{\left(\sqrt{a}+4\right).\left(\sqrt{a}+9\right)}=\frac{8\sqrt{a}+8}{a+13\sqrt{a}+36}\)