https://numbas.mathcentre.ac.uk/question/43646/joshua-s-copy-of-domain-of-a-piecewise-function/embed/