You can put this solution on YOUR website! Since the point (8,2) is the midpoint, we know that it is half way between endpoints. If we find the distance between (-3,1) and (8,2), and double it we will know the length of the segment:
x2=8
x1=-3
y2=2
y1=1
So the segment length is