Source: https://www.freemaths.fr/annales-mathematiques/bac-es-mathematiques-inde-2016-specialite-corrige-exercice-3-probabilites-a-densite.pdf