The right answer is an active euthanasia. An active euthanasia is defined as an intentional act of causing the death of a person through the supply of drugs that help him end his life. This is done with the consent of the patient who due to various circumstances, such as having a terminal illness that causes a lot of pain or a chronic illness, does not want to stay alive.
I hope my answer can help you.