Translation
If a man goes to bed with, and has sexual relations
Go to footnote numberwith a woman who is a slave or servant and is promised to a man, but a ransom has not yet been paid for her freedom or she has not been given her freedom, there must be an investigation and restitution
Go to footnote numbershall be paid, but they shall not be put to death because she was not free.
Paraphrase
If a man rapes a young lady who is a under the authority of a master and is engaged to be married to a man, but her fiancé has not yet paid for her freedom, or she has not been granted her freedom by her master, there must be an investigation to see how much the man owes in reparations, but they shall not be put to death because she was not free.
Footnotes
1
The situation described in these verses was most likely a case of rape.
2
What I have rendered as “an investigation and restitution” is translated in a wide variety of ways, from “scourging, punishment” or “penalty,” to “payment or compensation” to “investigation, inquisition, or distinction.” The best I can determine is that it involved both an investigation and then punishment in the form of restitution or reparation payments. Hence my translation and paraphrase convey both those elements.