Source: https://www.mathsbook.fr/Brevet/2016/Brevet-maths-pondichery-2016-correction.pdf