How do the medications work?

Like all barbiturates Beuthanasia-d is an agonist of the GABAA receptors.  Gaba is the principal inhibitory neurotransmitter in the central nervous system of mammals.  This means that at high concentrations Beuthanasia-d causes death by shutting down the nervous system.  The nervous system is in charge regulation of most body systems.