a: \(=\dfrac{\left(\sqrt{m}-\sqrt{y}\right)\left(m+\sqrt{my}+y\right)}{\sqrt{m}-\sqrt{y}}-\dfrac{\sqrt{my}\left(\sqrt{m}+\sqrt{y}\right)}{\sqrt{m}+\sqrt{y}}\)
\(=m+\sqrt{my}+y-\sqrt{my}=m+y\)
b: \(=\left(b-\sqrt{b}+1-\sqrt{b}\right)\cdot\dfrac{\sqrt{b}-1}{b-1}\)
\(=\dfrac{\left(\sqrt{b}-1\right)^2}{\sqrt{b}+1}\)