Jesus is talking to a group of people about what they as individuals should and should not do. The "you" is plural in "you have heard." The understood "you" is singular in "Do not kill," but in some languages it may need to be translated as plural. (See: [[rc://en/ta/man/jit/figs-you]])
This can be expressed with an active verb. Alternate translation: "God said to those who lived long ago" or "Moses said to your ancestors long ago" (See: [[rc://en/ta/man/jit/figs-activepassive]])
The abstract noun "judgment" can be translated using the word "judge." The passive verb "be held accountable" can be translated in active form, with the subject, "judge," made explicit. A judge, either God or a human judge, will condemn the person to die. Alternate translation: "Whoever kills will be held accountable by the judge" or "The judge will condemn anyone who kills another person" (See: [[rc://en/ta/man/jit/figs-abstractnouns]] and [[rc://en/ta/man/jit/figs-activepassive]])