a)
\(P=\dfrac{a+2\sqrt{a}+1}{\sqrt{a}-1}+\dfrac{a-1}{\sqrt{a}-1}-\sqrt{a}\\ P=\dfrac{\left(\sqrt{a}+1\right)^2}{\sqrt{a}-1}+\sqrt{a}+1-\sqrt{a}\\ P=\dfrac{a+2\sqrt{a}+1}{\sqrt{a}-1}+1\\P=\dfrac{a+2\sqrt{a}+1+\sqrt{a}-1}{\sqrt{a}-1}\\ P=\dfrac{a+3\sqrt{a}}{\sqrt{a}-1}\)