The midpoint is calculated by averaging the coordinates of its endpoints:
Now we can use the usual distance formula to get the length of SM:
9.5m questions
12.2m answers