Solve problems 5 et 6.