Answer
$X=A^{-1} B$
Work Step by Step
When a matrix $A$ has an inverse $A^{−1}$, then the matrix $A$ is called non-singular.
When the matrix A has no inverse, then it is known as singular.
When $AX=B$ represents a matrix equation for a non-singular matrix $A$, then, we can solve this equation as:
$X=A^{-1} B$
In other words, we take the inverse of $A$ and multiply it by $B$ to solve for $X$.