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