Source: https://www.math.univ-toulouse.fr/~msablik/coursiut/proba/2012-2013-proba-td4-probaconditionnelle.pdf