The teacher will be very surprised to see your correct solution 😉
2 2 y + 2*x - 4*x*y - 4*x*y*z = 0
2*x^2 - 4*x*y*z - 4*x*y + y^2 = 0