Đk: \(\hept{\begin{cases}x^2-9\ge0\\2x-6+\sqrt{x^2-9}\ne0\end{cases}}\)
\(A=\frac{\sqrt{\left(x+3\right)^2}+2\sqrt{\left(x-3\right)\left(x+3\right)}}{2\sqrt{\left(x-3\right)^2}+\sqrt{\left(x+3\right)\left(x-3\right)}}\)
TH1: \(\hept{\begin{cases}x+3\ge0\\x-3\ge0\end{cases}\Leftrightarrow}x\ge3\)
\(A=\frac{\sqrt{x+3}.\sqrt{x+3}+2\sqrt{x-3}.\sqrt{x+3}}{2\sqrt{x-3}\sqrt{x-3}+\sqrt{x+3}.\sqrt{x-3}}\)
\(A=\frac{\sqrt{x+3}\left(\sqrt{x+3}+2\sqrt{x-3}\right)}{\sqrt{x-3}\left(2\sqrt{x-3}+\sqrt{x+3}\right)}=\frac{\sqrt{x+3}}{\sqrt{x-3}}=\frac{\sqrt{x^2-9}}{x-3}\)
TH2: \(\hept{\begin{cases}x+3\le0\\x-3\le0\end{cases}\Leftrightarrow}x\le-3\)
\(A=\frac{\sqrt{\left(-x-3\right)^2}+2\sqrt{\left(-x+3\right)\left(-x-3\right)}}{2\sqrt{\left(-x+3\right)^2}+\sqrt{\left(-x+3\right)\left(-x-3\right)}}\)
\(A=\frac{\sqrt{-x-3}\left(\sqrt{-x-3}+2\sqrt{-x+3}\right)}{\sqrt{-x+3}\left(2\sqrt{-x+3}+\sqrt{-x-3}\right)}=\frac{\sqrt{-x-3}}{\sqrt{-x+3}}=\frac{\sqrt{x^2-9}}{3-x}\)