`***`Lời giải`***`
a)
ĐKXĐ: $\begin{cases} x≥0\\x-4\neq0\\x+4\neq0\\2\sqrt{x}+4\neq0\\ x+2\sqrt{x}\neq0\\\sqrt{x}-2\neq0\end{cases}$
`<=>`$\begin{cases} x≥0\\x\neq4\\x\neq-4\\2(\sqrt{x}+2)\neq0\\\sqrt{x}(\sqrt{x}+2)\neq0\\\sqrt{x}\neq2\end{cases}$
`<=>`$\begin{cases} x>0\\x\neq4\\\sqrt{x}+2\neq0\\\sqrt{x}\neq2\end{cases}$
`<=>`$\begin{cases} x>0\\x\neq4\\\sqrt{x}\neq-2\\\sqrt{x}\neq2\end{cases}$
`<=>`$\begin{cases} x>0\\x\neq4\\\end{cases}$
Vậy `x>0;xne4`
b)
`D=[\frac{x}{x-4}-\frac{2x}{x+4}(\frac{\sqrt{x}}{2\sqrt{x}+4}+\frac{2}{x+2\sqrt{x}})]:\frac{2}{\sqrt{x}-2} `
`=[\frac{x}{x-4}-\frac{2x}{x+4}(\frac{\sqrt{x}}{2(\sqrt{x}+2)}+\frac{2}{\sqrt{x}(\sqrt{x}+2)})]:\frac{2}{\sqrt{x}-2} `
`=(\frac{x}{x-4}-\frac{2x}{x+4}.\frac{x+4}{2\sqrt{x}(\sqrt{x}+2)}):\frac{2}{\sqrt{x}-2} `
`=(\frac{x}{x-4}-\frac{\sqrt{x}}{\sqrt{x}+2}):\frac{2}{\sqrt{x}-2} `
`=\frac{x-\sqrt{x}(\sqrt{x}-2)}{x-4}:\frac{2}{\sqrt{x}-2} `
`=\frac{x-x+2\sqrt{x}}{x-4}:\frac{2}{\sqrt{x}-2} `
`=\frac{2\sqrt{x}}{x-4}.\frac{\sqrt{x}-2}{2} `
`=\frac{2\sqrt{x}}{(\sqrt{x}-2)(\sqrt{x}+2)}.\frac{\sqrt{x}-2}{2} `
`=\frac{\sqrt{x}}{\sqrt{x}+2} `
Vậy `D=\frac{\sqrt{x}}{\sqrt{x}+2} ` với `x>0;xne4`