What's X-y=32x+y=12
\(\begin{Bmatrix}x-y&=&3\\2x+y&=&12\end{matrix}\)Let's sum the second row with the first one\(\begin{Bmatrix}x-y+2x+y&=&3+12\\2x+y&=&12\end{matrix}\)\(\begin{Bmatrix}3x&=&15\\2x+y&=&12\end{matrix}\)\(\begin{Bmatrix}x&=&5\\2x+y&=&12\end{matrix}\)replace the value of x\(\begin{Bmatrix}x&=&5\\2*5+y&=&12\end{matrix}\)\(\begin{Bmatrix}x&=&5\\10+y&=&12\end{matrix}\)\(\begin{Bmatrix}x&=&5\\y&=&12-10\end{matrix}\)\(\boxed{\boxed{\begin{Bmatrix}x&=&5\\y&=&2\end{matrix}}}\)