Ta có :
\(\left\{{}\begin{matrix}2ax+a^2y=5a\\2ax+4y=4a+2\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}\left(a^2-4\right)y=a-2\\2x+ay=5\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}\left(a-2\right)\left(a+2\right)y=a-2\\2x+ay=5\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}y=\frac{1}{a+2}\\2x+\frac{a}{a+2}=5\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}y=\frac{1}{a+2}\\2x=\frac{5\left(a+2\right)-a}{a+2}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}y=\frac{1}{a+2}\\x=\frac{2a+5}{a+2}\end{matrix}\right.\)