How do you solve the following system of two equations in three variables given x + 2y + z = 4 and 3x - y - 4z = -9?