I am a little confused by this question the matrix A is given as, $$ \begin{pmatrix} 2&1\\ 5&3 \end{pmatrix} $$ Matrix B $$ \begin{pmatrix} 2&4\\ 1&3 \end{pmatrix} $$
I found AX=B, but YA=B wouldn't that give me the same answer ? I dont understand why would i get a different answer.
In general $X\neq Y$ where $AX=B$ and $YA=B$ since matrix multiplcation is not commutative. Since $\det A$ and $\det B$ are not zero you can compute $X$ and $Y$ by $$ X= A^{-1} B \qquad \text{and} \qquad Y= BA^{-1}.$$ You will see that $ A^{-1} B\neq BA^{-1}$ what shows $X\neq Y$.