\(W=\dfrac{1}{2}\left(\sqrt{\left(2+\sqrt{2}\right)^2}+\sqrt{\left(2-\sqrt{2}\right)^2}\right)\\ W=\dfrac{1}{2}\left(2+\sqrt{2}+2-\sqrt{2}\right)=\dfrac{1}{2}\cdot4=2\\ Y=\dfrac{1}{2}\left(\sqrt{\left(4+\sqrt{3}\right)^2}+\sqrt{\left(4-\sqrt{3}\right)^2}\right)\\ Y=\dfrac{1}{2}\left(4+\sqrt{3}+4-\sqrt{3}\right)=\dfrac{1}{2}\cdot8=4\)