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