When given the end points of a line segment you can find out it’s midpoint bu using the midpoint formula. Midpoint is half way between each point. All you need to do is divide the sum of x-values and the sum of y-values by 2.
( X1+X2/2 , Y1+Y2/2 )
( -2+0/2 , -2+3/2 )
(-2/2 , 1/2 )
Answer : ( -1 , 0.5 )