How do you solve x+y-z=6, 2x-y+z=-9, and x-2y+3z=1 using matrices?