\(AC=3a\sqrt{2}\); \(AM=\frac{2}{3}AB=2a\) ; \(\widehat{MAC}=45^0\)
\(\left|\overrightarrow{u}\right|^2=AM^2+4AC^2+4AM.AC.cos\widehat{MAC}\)
\(=4a^2+72a^2+4.2a.3a\sqrt{2}.\frac{\sqrt{2}}{2}=100a^2\)
\(\Rightarrow\left|\overrightarrow{u}\right|=10a\)