https://numbas.mathcentre.ac.uk/question/19574/conditional-probability-from-frequency-table-v2/embed/