\[\frac{\sqrt{d}}{5 - \sqrt{d}} = \frac{\sqrt{d}\left( 5 + \sqrt{d} \right)}{\left( 5 - \sqrt{d} \right)\left( 5 + \sqrt{d} \right)} =\]
\[= \frac{5\sqrt{d} + d}{25 - d}.\]