a) \(\sqrt{13+30\sqrt{2+\sqrt{9+4\sqrt{2}}}}\\ =\sqrt{13+30\sqrt{2+\sqrt{\left(2\sqrt{2}+1\right)^2}}}\\ =\sqrt{13+30\sqrt{2+2\sqrt{2}+1}}\\ =\sqrt{13+30\sqrt{\left(\sqrt{2}+1\right)^2}}\\ =\sqrt{13+30\left(\sqrt{2}+1\right)}\\ =\sqrt{13+30\sqrt{2}+30}\\ =\sqrt{43+30\sqrt{2}}\\ =\sqrt{\left(3\sqrt{2}+5\right)^2}\\ =3\sqrt{2}+5\)
b) \(\sqrt{227-30\sqrt{2}}+\sqrt{123+22\sqrt{2}}\\ =\sqrt{225-2\cdot15\sqrt{2}+2}+\sqrt{121+2\cdot11\sqrt{2}+2}\\ =\sqrt{\left(15-\sqrt{2}\right)^2}+\sqrt{\left(11+\sqrt{2}\right)^2}\\ =15-\sqrt{2}+11+\sqrt{2}\\ =26\)