what is the name of the first medication prescribed to patient 40059 in 10/2105?
select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and strftime('%y-%m',prescriptions.startdate) = '2105-10' order by prescriptions.startdate asc limit 1