Ambien is an extended-release medicine approved by the FDA and can be used for the…