How can I write Hummurubi code, if that female slave had died, he shall pay one-third mins of silver, in my own words?

If the female slave were to die, the person responsible would need to pay one-third of the value of the slave in silver as compensation according to Hummurabi code.