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