https://numbas.mathcentre.ac.uk/question/125665/find-expectation-of-x-using-pgf.zip?scorm=