https://numbas.mathcentre.ac.uk/question/29650/nigel-s-copy-of-substituting-variables-into-a-text-pattern-part/embed/