https://numbas.mathcentre.ac.uk/question/48184/ncprecal-u1l1-distance-midpoint-and-slope-given-two-points/embed/