Do M thuộc Ox, gọi tọa độ \(M\left(m;0\right)\)
\(\Rightarrow\left\{{}\begin{matrix}\overrightarrow{MA}=\left(1-m;-2\right)\\\overrightarrow{MB}=\left(-m;1\right)\end{matrix}\right.\)
\(MA=MB\Leftrightarrow MA^2=MB^2\)
\(\Rightarrow\left(1-m\right)^2+\left(-2\right)^2=\left(-m\right)^2+1\)
\(\Leftrightarrow m^2-2m+1+4=m^2+1\Rightarrow m=2\)
\(\Rightarrow M\left(2;0\right)\)