https://numbas.mathcentre.ac.uk/question/46609/solving-equations-minimum-and-maximum-x-values-of-a-region/embed/