solution exercice 2 section 1