\(\Leftrightarrow\hept{\begin{cases}y=5-2x\\5x+2.\left(5-2x\right)=12\end{cases}}\)
\(\Leftrightarrow\hept{\begin{cases}y=5-2x\\5x+10-4x=12\end{cases}}\)
\(\Leftrightarrow\hept{\begin{cases}y=5-2x\\x=12-10\end{cases}\Leftrightarrow\hept{\begin{cases}y=5-2.2=1\\x=2\end{cases}}}\)
\(\hept{\begin{cases}2x+y=5\\5x+2y=12\end{cases}\Leftrightarrow\hept{\begin{cases}4x+2y=10\\5x+2y=12\end{cases}}}\)
\(\Leftrightarrow\hept{\begin{cases}-x=-2\\4x+2y=10\end{cases}}\Leftrightarrow\hept{\begin{cases}x=2\\y=1\end{cases}}\)