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