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