How do you solve the following linear system: 2x+y+z=9,x+2yz=6,3xy+z=8?