The teacher will be very surprised to see your correct solution 😉
d + a*x + b*y + c*z = 0
a*x + b*y + c*z + d = 0