Methadone is a prescription drug in a class of drugs called opioids. For more than 40 years, it has been used effectively to…