Don’t do anything to the girl. She has not committed a sin for which she deserves to die. This is like the case of someone who attacks and murders another person.
When a convicted person is put to death,
But if a man rapes an engaged girl out in the country, then only the man must die.
The man found the girl out in the country. She may have screamed for help, but no one was there to rescue her.