\int \sqrt{\frac{x}{a-x}}dx = -\sqrt{x(a-x)}-a\tan^{-1}\frac{\sqrt{x(a-x)}}{x-a}+C