On a Hecke-type functional equation with conductor q=5