A cluster model for the 6He+9Be interaction