https://numbas.mathcentre.ac.uk/question/15368/elias-jakobus-s-copy-of-find-probabilities-from-2d-frequency-table/embed/