Source: http://ftp.glennhowells.co.uk/2D_probabilita-c-s-cours-et-exercices-corriga-c-s-to_ojb9FYCr.pdf