D is correct:
because of doing the correct steps:
step1: put the point of your compass on the left endpoint of the segment, A.
Open the compass to be more than half the length of the segment. Then leave a half-circle mark.
step2: do the same thing on the other point B. and find the middle point.