"If a man has done something so bad that you need to punish him by killing him"
"you execute him" or "you kill him"
"after he has died you hang him on a tree" or "you kill him by hanging him on a wooden post"