The teacher will be very surprised to see your correct solution 😉
2 2 2 x - k + 4*z + 6*x + 14*y + 17*y + 4*x*z + 8*y*z + 10*x*y = 0
-k + x^2 + 10*x*y + 4*x*z + 6*x + 17*y^2 + 8*y*z + 14*y + 4*z^2 = 0