Source: https://www.freemaths.fr/annales-mathematiques/bac-s-mathematiques-liban-2015-obligatoire-corrige-exercice-4-probabilites-discretes.pdf