Question d’entretien chez Mathnasium

How would you solve this problem?