solution exercice 6