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