A Derry man charged with a series of drugs offences told police he used one of the drugs allegedly found during a search of his home “to bake cakes and to make cocktails", a court heard.